At Sun Jan 12 17:49:59 2003, Nick Marino wrote: > > true but the reason I am having to run this on my incoming mail is because > SA is corrupting some emails by stripping CR from them. Only some of the > html messages not all. > > So anyway.. this "unix2dos < $1 > file" > would have to be this: "unix2dos < $1 > $1" > > In order for it to write back to the same file? Correct?
No, because the "> $1" will overwrite the file before the execution of the command. $1 will end up as an empty file. Your best bet is to use temporary files. Martin -- Martin Radford | "Only wimps use tape backup: _real_ [EMAIL PROTECTED] | men just upload their important stuff -o) Registered Linux user #9257 | on ftp and let the rest of the world /\\ - see http://counter.li.org | mirror it ;)" - Linus Torvalds _\_V ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk