home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
- Newsgroups: comp.unix.shell
- Subject: Re: challenge: hex sort
- Message-ID: <1992Aug13.075616.25126@ccu1.aukuni.ac.nz>
- From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
- Date: Thu, 13 Aug 1992 07:56:16 GMT
- References: <h1-ytad@rpi.edu>
- Organization: University of Auckland, New Zealand.
- Lines: 9
-
- fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald) writes:
-
- >Write a shell script to sort hex in numerical order.
-
- tr [a-f] [A-F] | awk ' { printf "%80s\n",$1 } ' | sort | awk ' { print $1 } '
- --
- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-