home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!decwrl!pa.dec.com!decprl!decprl!boyd
- From: boyd@prl.dec.com (Boyd Roberts)
- Subject: Re: Sort problem . .
- Message-ID: <1992Jul28.095415.4640@prl.dec.com>
- Sender: news@prl.dec.com (USENET News System)
- Nntp-Posting-Host: prl313.prl.dec.com
- Organization: Digital Equipment Corporation - Paris Research Laboratory
- References: <1992Jul27.123415.977@leland.Stanford.EDU> <1992Jul27.140110.846@news.eng.convex.com>
- Date: Tue, 28 Jul 1992 09:54:15 GMT
- Lines: 16
-
- In article <1992Jul27.140110.846@news.eng.convex.com>, Tom Christiansen <tchrist@convex.COM> writes:
- >
- > ps axu | ( sed 1q ; sort -nr +3 )
- >
-
- Eh? Since when does sed do `unbuffered' reads?
-
- prl313 ; @{echo 1 ; echo 2 ; echo 3} | @{sed 1q ; cat}
- 1
-
- Nice idea though...
-
-
- Boyd Roberts boyd@prl.dec.com
-
- ``When the going gets wierd, the weird turn pro...''
-