From owner-cvs-src@FreeBSD.ORG Wed Mar 17 14:59:48 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBDD16A4D0 for ; Wed, 17 Mar 2004 14:59:48 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 98A7643D31 for ; Wed, 17 Mar 2004 14:59:48 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 3881 invoked by uid 1000); 17 Mar 2004 22:59:49 -0000 Date: Wed, 17 Mar 2004 14:59:49 -0800 (PST) From: Nate Lawson To: Garance A Drosehn In-Reply-To: <20040317224702.A8A0416A52E@hub.freebsd.org> Message-ID: <20040317145908.P3595@root.org> References: <20040317224702.A8A0416A52E@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ps ps.1 ps.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 22:59:49 -0000 On Wed, 17 Mar 2004, Garance A Drosehn wrote: > Modified files: > bin/ps ps.1 ps.c > Log: > Improvements to 'ps -p '. If is a process id that does not exist, then > just print the header (if any) and exit, thus matching the behavior on -stable > and other OS's. > > Also adds support for being a comma-separated list of processes, and does > a much better checking for invalid-values of , such as 'ps -p someword'. > > Reviewed by: mentioned on freebsd-current > MFC after: 10 days > > Revision Changes Path > 1.67 +5 -2 src/bin/ps/ps.1 > 1.65 +99 -19 src/bin/ps/ps.c If not found, shouldn't it print no header, an error message to stderr and return non-zero? -Nate