Subject: Re: ps -o field=HEADING,field2=HEADING2
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 09/11/2006 20:43:27
On Mon, Sep 11, 2006 at 08:21:29PM +0200, Alan Barrett wrote:
> On Mon, 11 Sep 2006, Joerg Sonnenberger wrote:
> > On Mon, Sep 11, 2006 at 12:30:53AM +0200, Alan Barrett wrote:
> > > 1) SUSv2 says that {ps -o "field1=HEADING1,field2=HEADING2"} specifies
> > > only one field: field1, whose heading is "HEADING1,field2=HEADING2".
> > > NetBSD's ps thinks that it specifies two fields: field1 with heading
> > > "HEADING1", and field2 with heading "HEADING2".  I think we should
> > > change to be SUS compatible here.  Any objections?
> > 
> > I read the SUSv3 text differently. Can you recheck this and the other
> > things against v3?
> 
> I found http://www.unix.org/version3/online.html, which
> wants me to register.  No thanks.

Well, I use http://www.unix.org/single_unix_specification/
You have to register once, but the access itself is free.
v3 is the authoritive version, noone really cares about v2.

Joerg