Great Circle Associates List-Managers
(December 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: re: stripping footers for archive
From: "Eric J. Hansen" <eric @ worldmachine . com>
Date: Thu, 19 Dec 1996 10:53:42 -0500 (EST)
To: list-managers @ greatcircle . com
Cc: garyb @ outlawnet . com, t . bowden @ qub . ac . uk

garyb@outlawnet.com (Gary Bickford) writes:
> Has anyone come up with a handy way to strip this back off before archiving
> or digesting??  They're also generally still hanging on the end of replies
> to list mail, so it'd be nice to strip them off in reply form as well.
 
and then t.bowden@qub.ac.uk (Tony Bowden) writes/follows:
> What sort of list software are you running? I'm using SmartList, so
> theoretically all I need a procmail recipe which can strip the footer,
> but I don't know enough about procmail to write this...

I'm running SmartList as well, and this was an easy mod to make.
Basically, for digests (which I only offer), SmartList keeps the message
header, body and footer separate until it actually sends it out.  I just
hacked ".bin/flush_digest" script to only archive the header and body,
*not* the footer.  Email me separately and I'll send you the 10 or so
lines of patched code.

For other user-servicable MLM's, I'd imagine that this wouldn't be such
a big deal... even if you've only got the full message to work with, on
Un*x like systems with the usual assortment of commands, you can just
figure out how many lines your message is (i.e., "wc"), and then use
"head" to only archive the top ( message_length - trailer_length )
lines.  See your man pages for more info.  In Perl (i.e., for
majordomo), this is also relatively easy.

-Eric

-- 
Eric J. Hansen ................................. mailto:eric@worldmachine.com
Worldmachine Technologies ....................... http://www.worldmachine.com


Follow-Ups:
Indexed By Date Previous: Re: FindMail.Com?
From: Michelle Dick <artemis@rahul.net>
Next: Re: stripping footers for archive
From: t.bowden@qub.ac.uk (Tony Bowden)
Indexed By Thread Previous: Re: "Killing Those Dang Groupwise Open Messages"
From: "John Buckman" <jbuckman@shelby.com>
Next: Re: stripping footers for archive
From: t.bowden@qub.ac.uk (Tony Bowden)

Google
 
Search Internet Search www.greatcircle.com