in reply to perl -ne (one-liners)

Well here are the three you mention in your post:

perl -ne 'END {print $.}' filename perl -ne 'print if 5 .. 70' filename perl -lane 'print $F[1]' filename
--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me