Hi Martin.
14 Dec 23 22:08:00, you wrote to All:
MK> for %%a in (*.QQ) do (
That should be (*.QQQ)
MK> sed -b -i s/TID:^ FastEcho^ 1.46.1^ 43288/TID:^ FastEcho^ 1.46.1^
MK> 43288\x0D\x01TZUTC:^ \x2D0700/gi %%a
MK> )
My example from OS/2 works fine in this hpt/windows point of mine.
=== Cut ===
set FINDTHIS=\x01CHRS:
set ADDTHIS=\x01HELLO: WORLD!\x0D
for %a in (c:\bbs\husky\temp\out\*.pkt) (
sed -b -i -- 's/%FINDTHIS%/%ADDTHIS%%FINDTHIS%/gi' %a
)
=== Cut ===
C:\>cygwin\bin\sed.exe --version
cygwin/bin/sed (GNU sed) 4.9
Packaged by Cygwin (4.9-1)
I don't know what kind of SED you have in your windows but consider installing cygwin. ;)
'Tommi
---
* Origin: Point One (2:221/1.1)
|