note
Joost
<i>Do not slurp in a file into an array. Someday that input file will be huge.</i>
<p>
I second that, and here is my 2-cent solution:
<p>
<code>
perl -wnl -e 'print $_ unless /^$/' infile >outfile
</code>
<p>
see also:
<code>
perldoc perlrun
perldoc perlre
</code>
<code>
--
Joost downtime n. The period during which a system
is error-free and immune from user input.
</code>
168099
168113