🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #243

Re: Sort problem . .

#243
From: Noah Friedman
Date: Fri, 31 Jul 1992 15:46
9 lines
1168 bytes
In article <1992Jul31.115559.11391@convex.com> tchrist@convex.COM (Tom Christiansen) writes:
>Splitting something up ps to put the header to stderr and the rest of
>data to stdout is a myopic solution.

   Agreed.  I consider the header to be "useful" information.  I've used it
plenty of times in shell scripts to decide what field in the rest of the
output was the one I wanted, since it's almost impossible to expect that
different implementations of PS will ever be otherwise compatible. 
It's not just there for humans to read!  Don't mess with it. 
Technical Details
Message-ID: <FRIEDMAN.92Jul31114626@nutrimat.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!gumby!yale!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!friedman
References: <33pmg <1992Jul31.000822.13317@convex.com> <0fqm1cp.messina@netcom.com> <1992Jul31.115559.11391@convex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!gumby!yale!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!friedman
From: friedman@gnu.ai.mit.edu (Noah Friedman)
Newsgroups: comp.unix.shell
Subject: Re: Sort problem . .
Message-ID: <FRIEDMAN.92Jul31114626@nutrimat.gnu.ai.mit.edu>
Date: 31 Jul 92 15:46:26 GMT
References: <33pmg <1992Jul31.000822.13317@convex.com> <0fqm1cp.messina@netcom.com>
 <1992Jul31.115559.11391@convex.com>
Sender: news@ai.mit.edu
Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139
Lines: 10
In-reply-to: tchrist@convex.COM's message of 31 Jul 92 11:55:59 GMT