Re: [Gossip] tidying up mbox files

2006-08-13 Thread Jeff Breidenbach
Thanks! Also, one of the people with slightly-broken mbox files suggested this: perl -i -p -e '/^From / !/\d\d:\d\d:\d\d \d\d\d\d$/ s/(.+)/$1/' A_* I'm continuously amazed at both Perl, and the people whose brains are capable of understanding it. :) -Jeff

[Gossip] tidying up mbox files

2006-08-12 Thread Jeff Breidenbach
Hi all, When someone wants to import a bunch of messages into an archive, the provide an mbox file. The mbox file format is simple, but has at least one gotcha. In order to avoid misinterpretation of lines in message bodies which begin with the four characters From, followed by a