On Mon, Sep 03, 2001 at 04:22:57PM -0400, Ruairi Newman wrote:
> Been receiving many e-mails lately from people who use MS-Outlook and don't
> want to disable html in their settings for various reasons.
this is why i'd love an editor that would spew out troff. reply to
them with that editor and then say, "well it works on my system - what
version of groff are you running?" when they ask wtf i just sent them
> For archival purposes I want to strip the html part from all incoming mails
> and am wondering if anyone has a regexp they're already using for this
> purpose that I can put put into a procmail rule to assist? Otherwise I'll
> cobble something together myself.
you'd want to strip it before you see it? you might be able to use sed
or something. or i'm sure there are perl modules for playing with mime.
seems like it might accidentally nuke stuff you want though.
if you want to see it first, you can delete attachments in mail you've
received. hilite the mail, press v, hilite the attachment you want to
nuke, press d. more labor intensive, but possibly safer. you might
even be able to implement it as a macro - if the html is always in the
kevin at suberic.net simple four line sigs -
fork()'ed on 37058400 bandwidth friendly; nice to do.
meatspace place: home some admins clueless.
http://suberic.net/~kevin --netiquette haiku 2001
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!