sed-devel
[Top][All Lists]
Advanced

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

Re: sed+windows/cygwin+newlines


From: Assaf Gordon
Subject: Re: sed+windows/cygwin+newlines
Date: Wed, 5 Dec 2018 21:29:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Hi,

On 2018-10-24 2:26 p.m., Assaf Gordon wrote:
On 10/18/18 4:59 PM, Assaf Gordon wrote:

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


attached updated version (with small bugfix for "--binary --inplace"
in mingw). Also includes a unit test.

I tested on cygwin (where "-b" is no-op by default) and on mingw.
Seems good so far.

Will push in couple of days if there are no objections.

-assaf

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

Attachment: 0002-tests-add-text-binary-mode-tests.patch
Description: Text Data


reply via email to

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