View Issue Details

IDProjectCategoryView StatusLast Update
00007271003.1(2013)/Issue7+TC1Shell and Utilitiespublic2019-06-10 08:55
Reporteraureliojargas Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status ClosedResolutionAccepted As Marked 
NameAurelio Jargas
Organization
User Reference
Sectionprintf
Page Number3077
Line Number102582
Interp Status---
Final Accepted Textsee 0000727:0001694
Summary0000727: Missing %b mention in printf utility remark about errors
DescriptionThe 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 ActionAdd '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.
Tagstc2-2008

Relationships

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

Activities

eblake

2013-08-01 16:16

manager   bugnote:0001694

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 0000727: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