in reply to perl one liner to print a line
perl -e'@x=<>; print $x[3]'
but that loads the entire file into memory where the $. method doesn't. Just putting it out there since you tried to use an array.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl one liner to print a line
by sugar (Beadle) on Dec 12, 2008 at 02:03 UTC | |
|
Re^2: perl one liner to print a line
by jwkrahn (Abbot) on Dec 12, 2008 at 07:11 UTC |