sed-devel
[Top][All Lists]
Advanced

[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 15:59:19 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hello,

On 12/10/18 12:01 PM, Eli Zaretskii wrote:
From: Assaf Gordon <address@hidden>

Do you think it would be better to also make "-b" affect STDIN/STDOUT?

Yes, I think so.  It will allow to run on Windows Sed scripts that
remove CR characters, for example.


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

comments (and testing) welcomed,
 - 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]