in reply to scanning a text file and deleting lines that are double
$/ = ""; while (<IN>) { my %seen; print OUT grep !$seen{$_}++, split /^/m, $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: scanning a text file and deleting lines that are double
by tachyon (Chancellor) on Sep 03, 2004 at 07:58 UTC |