[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 |
Hello,
Attached updated patch.
On 18/10/18 04:03 PM, Eric Blake wrote:
On 10/18/18 4:59 PM, Assaf Gordon wrote:
Hello,
Attached a patch to apply -b/--binary to STDIN/STDOUT under
windows/mingw.
+++ 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.
Thanks!
- assaf
0001-sed-fix-b-binary-mode-under-windows-mingw.patch
Description: Text Data
- sed+windows/cygwin+newlines: improving documentation, Assaf Gordon, 2018/10/09
- Re: sed+windows/cygwin+newlines: improving documentation, Eli Zaretskii, 2018/10/09
- Re: sed+windows/cygwin+newlines: improving documentation, Assaf Gordon, 2018/10/09
- Re: sed+windows/cygwin+newlines: improving documentation, Eli Zaretskii, 2018/10/09
- Re: sed+windows/cygwin+newlines: improving documentation, Assaf Gordon, 2018/10/12
- Re: sed+windows/cygwin+newlines: improving documentation, Eli Zaretskii, 2018/10/12
- Re: sed+windows/cygwin+newlines: improving documentation, Assaf Gordon, 2018/10/18
- Re: sed+windows/cygwin+newlines: improving documentation, Eric Blake, 2018/10/18
- Re: sed+windows/cygwin+newlines: improving documentation,
Assaf Gordon <=
- Re: sed+windows/cygwin+newlines: improving documentation, Assaf Gordon, 2018/10/24