in reply to reading from file
if your file is 'input'. If its a windows system, do aperl -lane 'print "@F[0,2..$#F-2,$#F]"' input
instead.perl -lane "print qq{@F[0,2..$#F-2,$#F]}" input
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: reading from file
by CountZero (Bishop) on Oct 10, 2007 at 08:56 UTC |