14 Dec 23 22:08:00 Martin Kazmaier (1:340/1101) wrote:
==== begin of the message ====
@MSGID: 1:340/1101 01083441
@PID: THE READER V4.50 [freeware]
@NOTE: IceEdit 2.35 K96741
@TID: FastEcho 1.46.1 43288
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)
SEEN+BY: 1/123 15/0 19/10 90/1 104/115 105/81 106/201 114/706 709 710 711 712 SEEN+BY: 114/713 116/16 123/131 128/73 187 206 253 255 256 258 260 261 262 SEEN+BY: 134/0 101 138/146 153/7715 203/0 218/700 221/1 6 360 226/30 50 SEEN+BY: 227/114 229/110 112 113 200 206 275 307 317 400 426 428 452 470 550 SEEN+BY: 229/664 700 240/1120 261/38 266/512 275/100 1000 280/464 5003 5555 SEEN+BY: 282/1038 291/111 292/854 300/6 301/1 320/119 219 322/757 335/364 SEEN+BY: 340/0 100 101 400 800 1100 1101 341/66 234 342/11 200 396/45 423/81 SEEN+BY: 460/58 633/280 712/848 1321 3634/12 5020/1042 5075/35
@PATH: 340/1101 400 15/0 229/426 153/7715 134/101 221/1 6
==== end of the message ====
---
* Origin: RBB Test Robot @ FIDOTEST (2:221/6.0)