cvs commit: src/bin/ps ps.1 ps.c
Nate Lawson
nate at root.org
Wed Mar 17 14:59:49 PST 2004
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
More information about the cvs-src
mailing list