Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001774 |
[Issue 8 drafts] Base Definitions and Headers |
Editorial |
Omission |
2023-08-31 17:45 |
2024-05-23 14:38 |
|
Reporter |
eblake |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Open |
|
Status |
New |
|
Product Version |
Draft 3 |
|
Name |
Eric Blake |
Organization |
Red Hat |
User Reference |
ebb.file format |
Section |
XBD 5 File Format Notation |
Page Number |
114 |
Line Number |
3581 |
Final Accepted Text |
|
|
Summary |
0001774: Support ' <apostrophe> as a format specifier flag character in utilities |
Description |
[Page numbers against draft 3 for Issue 8; this will need to be updated once Issue 8 is finalized]
During the 31 Aug 2023 teleconference, it was noted that many, but not all, shells have already implemented support for printf "%'i" 1000 outputting thousands separators (for example, producing "1,000" in the en_US.UTF-8 locale), matching what is already specified for the printf( ) function under <CX> shading. However, we also discussed that standardizing this would be a feature addition, and therefore too late for Issue 8, and thus not fit for inclusion in 0001771
|
Desired Action |
We have the option of adding a description of the ' flag directly to XBD 5 (page 114 line 3581), but then we have to inspect all other utilities in XSH that refer to XBD 5 to see what the fallout may be. Or we can just modify the printf utility in XSH directly (page 3269 line 110984 EXTENDED DESCRIPTION), while other utilities that support formatted output (such as awk's printf statement, page 2602 line 85295) continue to be up to individual implementations whether to support the extension.
At present, this bug is still a placeholder reminding us to actually come up with proposed changes for Issue 9. |
Tags |
No tags attached. |
|
Attached Files |
|
|