[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed+windows/cygwin+newlines: improving documentation

From: Assaf Gordon
Subject: Re: sed+windows/cygwin+newlines: improving documentation
Date: Thu, 18 Oct 2018 20:45:55 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1


Attached updated patch.

On 18/10/18 04:03 PM, Eric Blake wrote:
On 10/18/18 4:59 PM, Assaf Gordon wrote:

Attached a patch to apply -b/--binary to STDIN/STDOUT under

+++ b/doc/sed.texi

Modern Cygwin still has the concept of text files, which have \r\n line endings. It is just that you have to specifically request them via mount options (they are not default).  So I don't think that excluding Cygwin is correct here.

OK, I discarded the change.
I still cygwin usage under cygwin is not trivial with regards to binary/textmode,
but I'll leave it for a future doc patch.

Isn't there a gnulib module for requesting setmode in a more portable manner?

Good catch.
The new patch uses it.

 - assaf

Attachment: 0001-sed-fix-b-binary-mode-under-windows-mingw.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]