home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!usc!sdd.hp.com!mips!darwin.sura.net!jvnc.net!yale.edu!news.yale.edu!neutron!dcs
- From: dcs@neutron.chem.yale.edu (Dave Schweisguth)
- Subject: Re: Sort problem . .
- Message-ID: <1992Jul29.140051.14685@news.yale.edu>
- Sender: news@news.yale.edu (USENET News System)
- Nntp-Posting-Host: neutron.chem.yale.edu
- Organization: Yale University
- X-Newsreader: Tin 1.1 PL4
- References: <1992Jul29.072924*Harald.Eikrem@delab.sintef.no>
- Date: Wed, 29 Jul 1992 14:00:51 GMT
- Lines: 17
-
- Harald.Eikrem@delab.sintef.no writes:
- : From the clipboard of tchrist@convex.COM (Tom Christiansen):
- : ! :Yeah, nice for {,k,z,ba}sh. Why not simply
- : ! :
- : ! : ps aux | ( line; sort -rn +3 )
- : !
- : ! line: Command not found.
-
- Leaving aside the issue of what fields one wants to sort on,
-
- ps -options | (echo "$<"; sort -still more options)
-
- works in csh.
-
- --
- | Dave Schweisguth Yale MB&B & Chemistry Email: dcs@neutron.chem.yale.edu |
- | Lab phone: 203-432-5208 Fax: 203-432-6144 Home phone: 203-624-3866 |
-