bug when processing binary file for gnu win32 sed

hongqi wang <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Hi,
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.
瀹(Wang Hongqi)

 

MSN: [email protected]

home page: http://buaa-whq.3322.org/ (temporarily unavailable now)
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.