#!/usr/bin/perl
# note that if @ARGV is empty, it reads the standard input, as it should
system("sort @ARGV | uniq -c | sort -n");
