in reply to opinion - enormous input files

If on *nix you can use
sort file | uniq -c
--Artist

Replies are listed 'Best First'.
Re^2: opinion - enormous input files
by dsheroh (Monsignor) on Feb 01, 2009 at 14:02 UTC
    No, he wants to do it in perl:
    perl -e 'print `sort file | uniq -c`'