Thanks to Diego's confirmation that his mbox code on the Wiki at
http://lua-users.org/wiki/MailBoxParsing is released under the MIT
license, I've added a Lua 5 version to stdlib. Now available in CVS at
http://cvs.sourceforge.net/viewcvs.py/lua-users/stdlib/modules/ (or at
least, will be as soon as it shows up; the really impatient can just check
out CVS).
I just tried it out on a 1700+ message mbox, and a few tests showed it
seeming to work flawlessly (it got the number of messages right, looking
at some headers seemed to show them in the right places &c.).
Thanks Diego!
--
http://www.mupsych.org/~rrt/ | Academics age by degrees
|