
August 21st, 2006, 11:02 AM
|
|
Contributing User
|
|
Join Date: Dec 2003
Posts: 105
Time spent in forums: 4 h 56 m 28 sec
Reputation Power: 5
|
|
|
Script to read through unix mbox
I have a user that has a 4G mailbox file, which cannot be read anymore. I would like to break that into lots of smaller files for him to read, after maybe 100 emails. Each new mail starts with a From line.
How can I read through this file, count 100 emails and then cat those to another file to be opened.
Any other suggestions would be appreciated.
Thanks
|