Subj : Re: adding tzutc kludge... To : Martin Kazmaier From : Andrey Kharchenko Date : Fri Dec 15 2023 15:22:25 Приветствую, Martin! 14 дек 23 22:08, Martin Kazmaier писал(а) к All: MK> @MSGID: 1:340/1101 01083441 MK> @PID: THE READER V4.50 [freeware] MK> @NOTE: IceEdit 2.35 K96741 MK> @TID: FastEcho 1.46.1 43288 MK> I'm trying to use sed in windows, but can't find any documentation. MK> It works totally different than *IX sed and isn't enclosed in ', uses MK> ^ as an escape character, I can't figure out how to add ascii MK> characters, etc. My batch file looks like: MK> for %%a in (*.QQ) do ( MK> sed -b -i s/TID:^ FastEcho^ 1.46.1^ 43288/TID:^ FastEcho^ 1.46.1^ MK> 43288\x0D\x01TZUTC:^ \x2D0700/gi %%a MK> ) MK> At the end of the first line of sed is a space and the line continues. MK> There are no instructions for handling special characters in windows MK> that I can find. I'm using \x0D for carriage return, \x01 for the MK> kludge character and \x2D for '-', since it didn't like that in the MK> command. I can get simple expressions working, and ones with spaces, MK> but nothing with ctrl characters or special characters. I know this MK> isn't the proper area, but the solution I'm looking for is because MK> Wilfred keeps saying I don't have a TZUTC kludge in my messages and MK> I'd like to be compliant. MK> --- MK> Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp) MK> (ports 22, 23, 110, 21, 119) (ssh: login bbs password shsbbs) MK> *** THE READER V4.50 [freeware] MK> SEEN-BY: 1/123 15/0 19/10 90/1 104/115 105/81 106/201 114/706 709 710 MK> 711 MK> SEEN-BY: 114/712 713 116/16 123/131 128/73 187 206 253 255 256 258 260 MK> 261 MK> SEEN-BY: 128/262 134/0 101 138/146 153/7715 203/0 218/700 221/1 6 360 MK> 226/30 MK> SEEN-BY: 226/50 227/114 229/110 112 113 200 206 275 307 317 400 426 MK> 428 452 MK> SEEN-BY: 229/470 550 664 700 240/1120 261/38 266/512 275/100 1000 MK> 280/464 MK> SEEN-BY: 280/5003 5555 282/1038 291/111 292/854 300/6 301/1 320/119 MK> 219 MK> SEEN-BY: 322/757 335/364 340/0 100 101 400 800 1100 1101 341/66 234 MK> 342/11 MK> SEEN-BY: 342/200 396/45 423/81 460/58 463/68 467/888 633/280 712/848 MK> 1321 MK> SEEN-BY: 3634/12 5000/111 5001/100 5005/49 5019/40 5020/715 846 848 MK> 1042 MK> SEEN-BY: 5020/4441 12000 5030/49 1081 5054/8 5058/104 5060/90 900 MK> 5061/133 MK> SEEN-BY: 5075/35 128 5080/102 5083/444 5090/958 MK> @PATH: 340/1101 400 15/0 229/426 153/7715 134/101 221/1 6 5020/1042 MK> 4441 MK> @PATH: 5060/900 90 С уважением, Andrey. --- GoldED+/OSX * Origin: Sirius (2:5060/90.1) .