cat words.dat | tr 'A-Z ' 'a-z\012' | sort | uniq -c
I'd like to point out that for some problems, other solutions are more suited than Perl.
Abigail
In reply to Re: Perl Destroys Interview Question
by Abigail-II
in thread Perl Destroys Interview Question
by redsquirrel
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |