#!/usr/bin/perl #### perl foo.pl #### sort -someshellsortoptions file.txt | perl bar.pl