in reply to Remove Blank Lines Off the End of a File
Don't use Perl if you don't want to read the whole file in. Use some manner of shell scripting or C. (In C, the function you're looking for is seek(), similar to the Perl seek.)
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Remove Blank Lines Off the End of a File
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 |
In Section
Seekers of Perl Wisdom