Re: Extract last email from an email file (mbox format)

Patrick Shanahan <[email protected]> Sun, 29 May 2016 17:12:16 -0400
Newsgroups gmane.mail.procmail
Organization Ptilopteri in Pandemonium
Message-ID <[email protected]>
* Xu Wang <[email protected]> [01-01-70 12:34]:
 [...]
> As mentioned, my file is huge:
> $ wc -l theBigBox
> 2171183 theBigBox
> 
> And it will get huger. THe main thing though is I would like to
> eventually make my script open source and help others and want to
> allow them to have huge files as well.
> 
> I would like use this in script and use it often so 24 seconds is too
> much for me.

You have control.  Divide the *hugh* file into smaller segments perhaps by
date.  You surly have some criteria by which you need to access particular
files/msgs.
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://linuxcounter.net