in reply to
removing blank lines from files
Here is one other (tongue in cheek) method:
perl -i.bak -pe 'goto LINE unless /\S/' file
--
John.
Comment on
Re: removing blank lines from files
Download
Code
In Section
Seekers of Perl Wisdom