in reply to Re: How do I delete from a delimiter to the end of a file?
in thread How do I delete from a delimiter to the end of a file?
I suspect yours will work better than ikegami's in a large number of situations. Reading 20k messages one-at-a-time is likely a better idea than requiring the entire archive of 20k messages to be read into memory at once.
Yours is even a complete example, not just a single regex that leaves the process of replacing files and slurping as an exercise.
- tye
|
|---|