Subj : Re: befpack.bat
To   : Martin Kazmaier
From : Tommi Koivula
Date : Fri Jan 12 2024 09:12 pm

On 11.01.2024 14:57, Martin Kazmaier wrote:

> I've got the following in the command line to run before the pack is done,
> but it doesn't ever add the tzutc kludge...  What am I doing wrong:
>
> cd \ele\fastecho\tempout\
> set findthis=TID: Fastecho 1.46.1 43288
> set addthis=TID: Fastecho 1.46.1 43288\x0D\x01TZUTC: -0700
> for %%a in (*.QQQ) DO (
> sed -b -i 's/%findthis%/%addthis%/gi' %%a
> )
>

What shell are your running it from? cmd.exe of windows? How about some logging in your .bat file to see what it actually does?

Cygwin and bash would be a good idea. 32bit cygwin is not supported anymore but it can be installed..

'Tommi

---
* Origin: =-=--------------=-= (2:221/1.0)