home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3147 < prev    next >
Encoding:
Text File  |  1992-07-27  |  843 b   |  24 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!decwrl!deccrl!news.crl.dec.com!pa.dec.com!decprl!decprl!boyd
  3. From: boyd@prl.dec.com (Boyd Roberts)
  4. Subject: Re: Sort problem . .
  5. Message-ID: <1992Jul27.135902.7601@prl.dec.com>
  6. Sender: news@prl.dec.com (USENET News System)
  7. Nntp-Posting-Host: prl313.prl.dec.com
  8. Organization: Digital Equipment Corporation - Paris Research Laboratory
  9. References:  <1992Jul27.123415.977@leland.Stanford.EDU>
  10. Date: Mon, 27 Jul 1992 13:59:02 GMT
  11. Lines: 11
  12.  
  13. In article <1992Jul27.123415.977@leland.Stanford.EDU>, peer@ccrma.stanford.edu (Peer Landa) writes:
  14. > alias  pss  ' ps uax | sort -nr +3'
  15. > It works fine except for that the "title line" also gets sorted...
  16.  
  17.     ps uax | sed 1d | sort -nr +3
  18.  
  19.  
  20. Boyd Roberts            boyd@prl.dec.com
  21.  
  22. ``When the going gets wierd, the weird turn pro...''
  23.  
  24.