D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] simplifying mailing list messages



Supposing I developed an aversion to seeing something like this:-

"
Your free subscription is supported by today's sponsor:
------------------------------------------------------------------
Get a FREE Mortgage Quote from Mortgage War. Simple application 
for mortgage information. If you're ready to get a quote click 
now!
http://click.topica.com/caacneLbz8Sdcce2iRnf/411Web
------------------------------------------------------------------

--^----------------------------------------------------------------
This email was sent to: amidgley2@xxxxxxxxxx

EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Sdc.ce2iRn.YW1pZGds
Or send an email to: hardhats-unsubscribe@xxxxxxxxxx

For Topica's complete suite of email marketing solutions visit:
http://www.topica.com/?p=TEXFOOTER
--^----------------------------------------------------------------
"

over and over again, and then keeping many copies of it, it occurs to me I 
could pipe email from the rules I use to determine which folder to put mail 
from the list into, through a sed expression that recognised 

"Your free subscription is supported by today's sponsor:
------------------------------------------------------------------"
and 

"------------------------------------------------------------------"
and dropped them, and the variant bit between them, and then lost 
"
--^----------------------------------------------------------------
This email was sent to: amidgley2@xxxxxxxxxx

EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Sdc.ce2iRn.YW1pZGds
Or send an email to: hardhats-unsubscribe@xxxxxxxxxx

For Topica's complete suite of email marketing solutions visit:
http://www.topica.com/?p=TEXFOOTER
--^----------------------------------------------------------------
"
as well.

But is sed the right one for this or is there something better?

-- 
Adrian Midgley                   (Linux desktop)
GP, Exeter
http://www.defoam.net/


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly