Download aol-header-strip-pl.hqx (9,724 KB)
From: BillC55122@aol.com
Subject: Perl script to strip AOL headers
Attached is a MacPerl droplet that will read in an America Online mail file
saved as text, and will output a BBEdit Lite text file on the desktop with
the trailing AOL "headers" stripped off. These headers at the end of the
file tended to confuse file readers such as Easy View, and are probably not
widely useful once you've debugged sendmail (but who among us has done a
thorough job of that?).
It requires MacPerl by Matthias Neeracher and Tim Endres (and, of course,
Larry Wall), which is available for free download at the sumex-aim mirror
nearest you. It should work with MacPerl 4 or MacPerl 5, though I have only
used it with MacPerl 5.1.3r2 (21 Jan 1997).
To use this droplet, first save AOL mail as a text file, to anywhere but the
desktop. Next, select and drop the text files onto the droplet file, which
will write an output text file in the desktop folder. If the output file
looks satisfactory, you can delete the original file.
This was a good way to begin learning Perl, which I would recommend to anyone
who needs to fiddle with text files.
Bill Cameron
billc55122@aol.com