in reply to Counting lines by content
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Counting lines by content
by willa (Acolyte) on Oct 09, 2002 at 11:35 UTC | |
by broquaint (Abbot) on Oct 09, 2002 at 11:45 UTC | |
by willa (Acolyte) on Oct 09, 2002 at 13:03 UTC |