Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000727 [1003.1(2013)/Issue7+TC1] Shell and Utilities Editorial Omission 2013-08-01 15:30 2019-06-10 08:55
Reporter aureliojargas View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed  
Name Aurelio Jargas
Organization
User Reference
Section printf
Page Number 3077
Line Number 102582
Interp Status ---
Final Accepted Text see Note: 0001694
Summary 0000727: Missing %b mention in printf utility remark about errors
Description The last sentence of the EXTENDED DESCRIPTION section of the printf utility specification, says:

    It is not considered an error if an argument operand is not completely used for a c or s conversion.

It's missing a mention about the 'b' conversion specifier character, which is directly related to 's'. I guess it should be handled in the same way in the described situation, but the specs should make that clear.


Note: I'm reading from the web at http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html, [^] so I just filled bogus page number and line number.
Desired Action Add 'b' to the end of that sentence, making it:

    It is not considered an error if an argument operand is not completely used for a c, s or b conversion.
Tags tc2-2008
Attached Files

- Relationships
has duplicate 0000932Closed behaviour of printf %b with no operand is not specified 

-  Notes
(0001694)
eblake (manager)
2013-08-01 16:16

At page 3076 line 102538 (XCU printf EXTENDED DESCRIPTION), change "a string that may contain" to "a string that can contain"

At page 3076 line 102558, change "Any extra c or s conversion" to "Any extra b, c, or s conversion"

At page 3077 line 102582, change "completely used for a c or s conversion" to "completely used for a b, c, or s conversion"

- Issue History
Date Modified Username Field Change
2013-08-01 15:30 aureliojargas New Issue
2013-08-01 15:30 aureliojargas Name => Aurelio Jargas
2013-08-01 15:30 aureliojargas Section => printf
2013-08-01 15:30 aureliojargas Page Number => 1
2013-08-01 15:30 aureliojargas Line Number => 1
2013-08-01 16:09 eblake Page Number 1 => 3077
2013-08-01 16:09 eblake Line Number 1 => 102582
2013-08-01 16:09 eblake Interp Status => ---
2013-08-01 16:16 eblake Note Added: 0001694
2013-08-01 16:16 eblake Final Accepted Text => see Note: 0001694
2013-08-01 16:16 eblake Resolution Open => Accepted As Marked
2013-08-01 16:16 eblake Tag Attached: tc2-2008
2013-08-01 16:17 eblake Status New => Resolved
2015-06-22 15:31 geoffclare Relationship added has duplicate 0000932
2019-06-10 08:55 agadmin Status Resolved => Closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker