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

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

bug when processing binary file for gnu win32 sed


From: hongqi wang
Subject: bug when processing binary file for gnu win32 sed
Date: Mon, 18 Jun 2012 13:00:27 +0800

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: address@hidden

home page: http://buaa-whq.3322.org/ (temporarily unavailable now)
                                          


reply via email to

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