Next The Perl Hardware Store DC.pm Version 7

Schwartzian Transform

Well-known to Unix shell programmers:

         # Sort file names by file size
         ls -l | sort -n +4 | awk '{print $NF}'
         # Sort output of SOMETHING from most frequent to least
         SOMETHING | uniq -c 
           | sort -nr | awk '{$1=""; print}'


Next Copyright © 2003 M. J. Dominus