Re: cutting mail spool

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Lynn David Newton
Date:  
To: Main PLUG discussion list
Subject: Re: cutting mail spool

Using dd to cut a large mail spool file blindly cuts it
at some random place. It would be better to split it at
the beginning of messages. An email message begins with
the string "^From ".

I played a couple of minutes with csplit(1) (context
split), which looks like a possibility, and used to
understand, but it's been 10-15 years since I've used
it for anything, and couldn't quite make it work. But
I'll bet with a little experimentation you could use
that to divide the file into multiple spool files.

--
Lynn David Newton
Phoenix, AZ
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss