| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
try
sed "s/\xc3\xbc/\xtc/g" "test.txt" > "testnew.txt"
Zharif
Am 28.09.2014 um 09:55 schrieb 'Ben Stover' [email protected]
[sed-users]:
> I want to use gnu sed for windows (available here: http://gnuwin32.sourceforge.net/packages/sed.htm)
> to replace some bytes in file test.txt by other bytes.
>
>
> Therefore I created (on 64bit Windows 7) the following DOS batch script:
>
>
> echo start
> sed 's/\xc3\xbc/\xtc/g' <test.txt >testnew.txt
> pause
>
>
>
>
> However when I run this batch script by double clicking I got the following error:
>
>
> sed: -e expression #1, char 1: unknown command: `''
>
>
> Why?
>
>
> Thank you
> Ben
>
>
>
>
>
>
>
>
> ------------------------------------
> Posted by: "Ben Stover" <[email protected]>
> ------------------------------------
>