Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'corrected script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
corrected script
Authored by: Lee Phillips on Oct 29, '02 09:09:52AM

It seems that the software that runs this site is broken, and mangled the script that I posted. I'll try again, submitting it this time as plain text:

#!/bin/sh
formail -D 1000000 idcache < $1 -s > ztmp && mv ztmp $1
rm idcache

If you save this somewhere in your executable path and call it "zap", then you just type

zap mailfile

to remove the duplicates from the mail file mailfile.



[ Reply to This | # ]
LF/CR
Authored by: david-bo on Oct 31, '02 01:01:45PM

Does this script handle Mac-line endings (^M) ? Eudora stores its mailboxes in mbox-format but with Mac-LF...



[ Reply to This | # ]