in reply to count of a word occurrence
Golfed solution:
perl -lane '$c{$F[0]}++;END{print"$_=$c{$_}"for keys%c}'
In Section
Seekers of Perl Wisdom
in reply to count of a word occurrence
perl -lane '$c{$F[0]}++;END{print"$_=$c{$_}"for keys%c}'