Subject: Re: CVS commit: src/usr.bin/printf
To: None <tech-userlevel@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-userlevel
Date: 06/25/2003 13:01:36
On Wed, 25 Jun 2003, Ben Harris wrote:
> >Remove getopt() loop, IEEE 1003.1 doesn't say that printf(1) should
> >conform to the "Utility Syntax Guidlines".
>
> While true, this isn't relevant.  IEEE Std 1003.1-2001 specifies that
> the options for printf are 'None' (XCU p 783 ll 28579-28580)[1].
> "None" is defined as meaning that the implementation 'shall recognize
> "--" as a first argument to be discarded' (XCU p 21 ll 834-837)[2].

Could we document this somehow?  Preferably by inserting "[--]" into the
synopsis of all commands that recognise it, and by adding a discussion
of the "Utility Syntax Guidelines" and the "--" issue to the intro(1)
man page.

> >Fixes PR 21970.
> See my comments appended to that PR on Monday.

Is there a list to which I could subscribe to receive copies of comments
appended to PRs?  "gnats-bugs" receives the original PR, but not
subsequent comments.

--apb (Alan Barrett)