From owner-freebsd-current Fri Mar 17 04:00:38 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA04608 for current-outgoing; Fri, 17 Mar 1995 04:00:38 -0800 Received: from aries.ibms.sinica.edu.tw ([140.109.40.248]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA04602 for ; Fri, 17 Mar 1995 04:00:33 -0800 Received: (from taob@localhost) by aries.ibms.sinica.edu.tw (8.6.9/8.6.9) id UAA04549; Fri, 17 Mar 1995 20:01:06 GMT Date: Fri, 17 Mar 1995 20:01:05 +0000 () From: Brian Tao To: FREEBSD-CURRENT-L Subject: Re: ps and grep In-Reply-To: <199503170809.AA21044@balboa.eng.uci.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk Although I don't have strong feelings either way, I would vote with leaving 'ps' the way it is now. If it starts assuming -ww when stdout is a pipe, then it will need a complementary switch to force short and really-short output. Seems like a lot of work for a net gain of zero. I don't see any real reason why 'ps' should default to extra-wide for a pipe. Same goes for 'ls', actually, with the -1 and -C switches, but changing that now would break a whole lot of scripts. If someone is really itching to add stuff to 'ps', how about a switch that produced tab-delimited rather than space-delimited output? That would make processing with cut/awk *much* simpler. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org