Subj : Re: befpack.bat To : Tommi Koivula From : Martin Kazmaier Date : Tue Jan 16 2024 07:09 pm TK> On 11.01.2024 14:57, Martin Kazmaier wrote: TK>> I've got the following in the command line to run before the pack is TK> done, TK>> but it doesn't ever add the tzutc kludge... What am I doing wrong: TK>> cd \ele\fastecho\tempout\ set findthis=TID: Fastecho 1.46.1 43288 set TK>> addthis=TID: Fastecho 1.46.1 43288\x0D\x01TZUTC: -0700 for %%a in TK>> (*.QQQ) DO ( sed -b -i 's/%findthis%/%addthis%/gi' TK>> %%a ) TK> What shell are your running it from? cmd.exe of windows? How about some TK> logging in your .bat file to see what it actually does? TK> Cygwin and bash would be a good idea. 32bit cygwin is not supported TK> anymore but it can be installed.. And the links for the 32bit cygwin installer don't work in 32 bit OSes. I don't know how to log this, sed doesn't have the ability to designate a logfile, unfortunately. I could put pauses in the batch file, and monitor the temporary directories, but I'd have to know that I was sending echomail out. --- 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) .