bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: bug when processing binary file for gnu win32 sed


From: Paolo Bonzini
Subject: Re: bug when processing binary file for gnu win32 sed
Date: Sun, 01 Jul 2012 15:51:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Il 18/06/2012 17:20, Eli Zaretskii ha scritto:
>> sed will expend "0A" to "0D0A" even if I specify the option "-b"
>> as below:  sed -b -i "s/<source>/<target>/g" Myfile.datthat is
>> not what I expected since I am dealing with some binary files
>> but it will break the format. version: 4.2.1download url:
>> http://gnuwin32.sourceforge.net/packages/sed.htm thanks.
> 
> It's a bug in the GnuWin32 port of Sed, not in Sed itself.

"-b" is part of GNU sed now, but I believe this particular bug has been
fixed.

Paolo



reply via email to

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