in reply to don't want to print certain lines
$ver="abc.txt"; open (IN,$ver); $new="new.txt"; open(OUT,"> $new"); while (<IN>){ <IN> and next if /^FIELD/; print OUT; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: don't want to print certain lines
by dee00zee (Novice) on Oct 27, 2004 at 01:56 UTC | |
by pg (Canon) on Oct 27, 2004 at 02:05 UTC |