Subject: Re: standards/17497: POSIX.1-2001: ps -A not supported
To: Ben Harris <bjh21@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 07/07/2002 18:50:38
On Sat, Jul 06, 2002 at 11:39:21PM +0100, Ben Harris wrote:

> >Number:         17497
> >Category:       standards
>
> POSIX.1-2001 (and probably POSIX.2-1992) specifies the following option
> for ps:
> 
>     -A  Write information for all processes.

Err, SUSv3 lists a few options that we don't implement, and some that
cross over between SysV ps and BSD ps.  This is what SUSv3 says for ps:

   ps [-aA][-defl][-G grouplist][-o format]...[-p proclist][-t termlist]
      [-U userlist][-g grouplist][-n namelist][-u userlist]

In general, a *BSD system isn't going to support all the SysV ps
options.  Should we just say as much in the manpage?

I have some patches that implement most SysV options but never have
committed them because no one could ever agree on how to choose which
style of option processsing to use...

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/