Subject: Re: bin/21970 (printf(1) breaks when format begins with "-")
To: None <gnats-bugs@NetBSD.org, dsl@NetBSD.org, apb@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 11/28/2006 00:42:18
On Mon, 27 Nov 2006, David Laight wrote:
> From:
> http://www.opengroup.org/onlinepubs/009695399/xrat/xbd_chap12.html
>
> Applications calling any utility with a first operand starting with '-'
> should usually specify --, as indicated by Guideline 10, to mark the end of
> the options.  This is true even if the SYNOPSIS in the Shell and Utilities
> volume of IEEE Std 1003.1-2001 does not specify any options; implementations
> may provide options as extensions to the Shell and Utilities volume of IEEE
> Std 1003.1-2001.  The standard utilities that do not support Guideline 10
> indicate that fact in the OPTIONS section of the utility description.

So now that we know that NetBSD's printf(1) conforms to SUSv3, what do we 
do? I'm inclined to close the PR, and let you two (apb, dsl) think about 
documentation.

Any objections?


  - Hubert