home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!news
- From: Harald.Eikrem@delab.sintef.no
- Subject: Re: Sort problem . .
- In-Reply-To: Tom Christiansen's message of Tue, 28 Jul 1992 21:18:16 GMT
- Message-ID: <1992Jul29.072924*Harald.Eikrem@delab.sintef.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: SINTEF DELAB, Trondheim, Norway.
- References: <1992Jul28.095415.4640@prl.dec.com>
- <1992Jul28.102938.12375@news.eng.convex.com>
- <1992Jul28.223113*Harald.Eikrem@delab.sintef.no>
- <1992Jul28.211816.23291@news.eng.convex.com>
- Date: 29 Jul 92 07:29:24
- Lines: 13
-
- 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.
-
- Why complain? Many ps variants will not recogise "aux" either. In fact,
- most do not. I can't think of a way to get a SVID2 ps to produce anywhere
- close to what that the requester obviously wanted to sort on, i.e. %CPU
- and %MEM.
-
- ~~harald E.
-