Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 14:59:49 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Garance A Drosehn <gad@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ps ps.1 ps.c
Message-ID:  <20040317145908.P3595@root.org>
In-Reply-To: <20040317224702.A8A0416A52E@hub.freebsd.org>
References:  <20040317224702.A8A0416A52E@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Mar 2004, Garance A Drosehn wrote:
>   Modified files:
>     bin/ps               ps.1 ps.c
>   Log:
>   Improvements to 'ps -p <x>'.  If <x> 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 <x> being a comma-separated list of processes, and does
>   a much better checking for invalid-values of <x>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317145908.P3595>