[pmmail-list] Exporting?

Simon Bowring pmmail-list@blueprintsoftwareworks.com
Tue, 08 Apr 2003 09:29:10 +0100 (BST)


On Mon, 07 Apr 2003 15:46:50 -0700, John Bridges wrote:

>Any advice? 
I'm not sure, but isn't unix mbox format a single text file full of
messages with LF (0Ah) terminated lines (and presumably some minimum set
of headers)?

And PMMail mail files are held one message per text file with CR LF
terminated lines.

So if you're not able to write a script or program to do this 
fairly siomple translation, you could do it with a reasonable 
text editor.

If there are many many messages, you could build up a batch file
using an edtor to concatenate all the messages using commands
like "dir > filename.bat" (to get the list of filenames) and 
editing filename.bat to do "copy filename1+filename2+filename3 
filename4" (keystroke macros can help here), then a suitable 
text editor (or utilities like dos2unix) would be able to 
change the DOS/Windows CR LF line termination to unix LF 
etc etc

Or am I teaching my Granny to suck eggs here?
Simon
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com 
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------