Subject: Re: bin/21970 (printf(1) breaks when format begins with "-")
To: None <hubertf@NetBSD.org, gnats-admin@netbsd.org,>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 11/27/2006 23:45:01
The following reply was made to PR bin/21970; it has been noted by GNATS.

From: Hubert Feyrer <hubert@feyrer.de>
To: gnats-bugs@NetBSD.org, dsl@NetBSD.org, apb@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, apb@cequrux.com
Subject: Re: bin/21970 (printf(1) breaks when format begins with "-")
Date: Tue, 28 Nov 2006 00:42:18 +0100 (CET)

 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