Article View: comp.unix.shell
Article #183Re: Sort problem . .
From: Harald.Eikrem
Date: Wed, 29 Jul 1992 07:29
Date: Wed, 29 Jul 1992 07:29
13 lines
1059 bytes
1059 bytes
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.
Technical Details
Message-ID:
<1992Jul29.072924*Harald.Eikrem@delab.sintef.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!newsReferences:
<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>Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell Path: arc1-ca.pugleaf.net!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