Article View: comp.unix.shell
Article #259Re: Sort problem . .
From: Arlie Davis
Date: Sun, 02 Aug 1992 06:27
Date: Sun, 02 Aug 1992 06:27
22 lines
1578 bytes
1578 bytes
In <1992Aug2.050145.7158@chpc.utexas.edu> aswx266@chpc.utexas.edu (Michael Lemke) writes: [source editting for correcting nasty output programs deleted] > No. You hacked ps. What about w, finger...? Once you got the wrapper > you got them all. You might even got how to attack those which spit out > two header lines.... Quite often, you *can't* hack the source, especially with ps, w, xload, and anything that must have root setuid privileges. Also, if you can't get the source for the particular program in question, due to political reasons, or just plain availability, then you're still stuck. > >No functionality is lost, some > >is added. > > Maybe not. Don't know if ps returns a useful exit status but if it does > this will break: ps -some_option >/dev/null || echo 'Warning....' I don't see how tweaking output would break the output status. -- lrwx------ 1 aldavi01 emacsstu 9 Jun 6 12:43 .signature -> /dev/null
Technical Details
Message-ID:
<aldavi01.712736852@starbase.spd.louisville.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!tulane!ukma!vlsi!starbase.spd.louisville.edu!aldavi01References:
<0fqm1cp.messina@netcom.com> <1992Jul31.115559.11391@convex.com> <rsqmjvp.messina@netcom.com> <1992Aug2.050145.7158@chpc.utexas.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!tulane!ukma!vlsi!starbase.spd.louisville.edu!aldavi01 From: aldavi01@starbase.spd.louisville.edu (Arlie Davis) Subject: Re: Sort problem . . Message-ID: <aldavi01.712736852@starbase.spd.louisville.edu> Sender: news@vlsi.louisville.edu (Network News System) Nntp-Posting-Host: starbase.spd.louisville.edu Organization: University of Louisville References: <0fqm1cp.messina@netcom.com> <1992Jul31.115559.11391@convex.com> <rsqmjvp.messina@netcom.com> <1992Aug2.050145.7158@chpc.utexas.edu> Date: Sun, 2 Aug 1992 06:27:32 GMT Lines: 22