Thread: eml2mbox.sh
View Single Post
Old 12 Apr 2003, 11:17 PM   #9
thoran
Junior Member
 
Join Date: Sep 2002
Location: Earth
Posts: 4
The Script Is ****ed Up & Revised Speed Estimates

Hello,

The script will not work because it is being truncated. For instance the sed code for extracting email addresses is not even half there. I suggest that you email me if you want a working copy, at least until such time as I can post a link...

It looks as if I either got it wrong or Release 1 is a hell of a lot faster than Release 0, but I ran this later release across a 45MB directory and it got through it in just under a minute and a half, so it does about 30MB per minute, not 4 or 5 as I had claimed before. So it ain't quite so slow after all...


thoran

P.S. Even if I did modify the line length, I am not inclined to post it here anymore anyway because of the prudish disposition with respect to ****in' naughty words.

P.P.S. Actually I think it is only the sed code which is truncated. Here it is then:
from=`echo $line | sed -e 's/From: //' -e 's/[ ]*([^)]*)[ ]*//g' -e 's/.*<\([^>]*\)>.*/\1/g'`
thoran is offline   Reply With Quote