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
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: perl -ne (one-liners)
by davorg
in thread perl -ne (one-liners)
by perchance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |