See perlrun for more info on perl's command-line options.perl -F: -e 'END { print "$_ $c{$_}\n" for keys %c }' \ -ane '$c{$F[1]}++'
_________
broquaint
In reply to Re: Counting lines by content
by broquaint
in thread Counting lines by content
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |