Re: bug when processing binary file for gnu win32 sed

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.