in reply to A perverse use of grep
How would you do it?
On 8 lines instead of 1 :-(
while (<$f>){ chomp; s/^\s+//; s/\s+$//; next unless length; next if /^#/; push @lines, $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A perverse use of grep
by QM (Parson) on Jun 15, 2005 at 20:41 UTC |