* Chopping a very large file into smaller files
@ 2002-04-22 18:05 George Gallen
0 siblings, 0 replies; only message in thread
From: George Gallen @ 2002-04-22 18:05 UTC (permalink / raw)
To: tru64-unix-managers
We recently did a large emailing, and alot of the emails were refused
(mostly because of being old email addresses).
I have custom software that goes through the /usr/spool/mail/username
incoming mail file, and strips out the email addresses, so we can update
our files.....HOWEVER, this time the file is VERY large (apx 150meg)
which our program can not handle in memory.
Is there any way to cut the file into pieces, but only break on certain
instances (like From ) so It won't split any emails?
If no easy methods, then I'll write something in PERL that will do what
I need.
Figured before I go and re-invent...
We are currently on 3.2c (I know...it's old) but I don't think that really
matters
here, it's more of general unix utility question.
Thanks
George
George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen@slackinc.com
ph:856.848.1000 Ext 220
SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-22 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22 18:05 Chopping a very large file into smaller files George Gallen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox