jbisbee has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking for the most effcient way of removing blank lines off the end of a text file without reading the whole thing. (the files I'm working with can be up to 3 megs). I need the solution to be fast.
-biz-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remove Blank Lines Off the End of a File
by jmcnamara (Monsignor) on Feb 28, 2002 at 14:12 UTC | |
|
Re: Remove Blank Lines Off the End of a File
by dragonchild (Archbishop) on Feb 27, 2002 at 20:54 UTC | |
by PrakashK (Pilgrim) on Feb 27, 2002 at 21:06 UTC | |
by jmcnamara (Monsignor) on Feb 28, 2002 at 14:30 UTC | |
by jbisbee (Pilgrim) on Feb 27, 2002 at 21:51 UTC |