bug-sed
[Top][All Lists]
Advanced

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

bug#26879: end-of-line issue with cygwin 4.4-1 sed 4.4


From: Assaf Gordon
Subject: bug#26879: end-of-line issue with cygwin 4.4-1 sed 4.4
Date: Thu, 11 May 2017 16:13:24 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hello all,


Eric,
Just to verify (since I'm not very familiar with cygwin, nor with the
recent changes in sed/cygwin changes):

If one wants the old sed behavior on cygwin (automatic
handling of CR/LF),
all that's needed is rebuilding sed from upstream source?

That is:

    wget https://ftpmirror.gnu.org/sed/sed-4.4.tar.xz
    tar -xf sed-4.4.tar.xz
    cd sed-4.4
    ./configure
    make
    sudo make install

And then the sed binary will handle CR/LF transparently?
(and will also have the old "-b/--binary" flag to disable
automatic CR/LF handling) ?

I'm asking this to help find an easy work-around in case
other cygwin users want revert to the "old ways".
(also useful for us upstream to know about this cygwin change,
in case we get more bug reports).


Thanks,
 - assaf





reply via email to

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