I'm trying to use sed in windows, but can't find any documentation. It works
totally different than *IX sed and isn't enclosed in ', uses ^ as an escape
character, I can't figure out how to add ascii characters, etc. My batch
file looks like:
for %%a in (*.QQ) do (
sed -b -i s/TID:^ FastEcho^ 1.46.1^ 43288/TID:^ FastEcho^ 1.46.1^
43288\x0D\x01TZUTC:^ \x2D0700/gi %%a
)
At the end of the first line of sed is a space and the line continues. There
are no instructions for handling special characters in windows that I can
find. I'm using \x0D for carriage return, \x01 for the kludge character and
\x2D for '-', since it didn't like that in the command. I can get simple
expressions working, and ones with spaces, but nothing with ctrl characters
or special characters. I know this isn't the proper area, but the solution
I'm looking for is because Wilfred keeps saying I don't have a TZUTC kludge
in my messages and I'd like to be compliant.
---
Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp)
(ports 22, 23, 110, 21, 119) (ssh: login bbs password shsbbs)
*** THE READER V4.50 [freeware]
---
* Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (1:340/1101)
|