"Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:
> I have a problem. I have a very large text file consisting of a
> concatenated archive of emails (501,382 bytes). I want to split it
> up into several smaller and more manageable files. The file is too
> large to load into any of my text editors or file viewers. I need to
> to search for an old message [...]
If the original messages are still in mailbox format, you could use a stream
editor to search for occurences of the text you're after occuring between
"From: " lines and print those out. The beauty of a stream editor is that it
works on (surprise) the stream of characters and doesn't need to read the
file into memory. They can be quite snappy.
Back in my heaviest DOS days, I used a port of "sed" (stream editor) derived
from Unix. Not sure where you'd find it now, but it's surely out there
somewhere. There may be a better solution.
Good luck!
- Bob
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html