View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001476 | Issue 8 drafts | Shell and Utilities | public | 2021-05-19 12:21 | 2024-06-11 09:12 |
Reporter | kre | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Accepted As Marked | ||
Product Version | Draft 2 | ||||
Name | Robert Elz | ||||
Organization | |||||
User Reference | |||||
Section | XCU 2.14 / printf | ||||
Page Number | 3086 | ||||
Line Number | 104321 | ||||
Final Accepted Text | 0001476:0005390 | ||||
Summary | 0001476: Missing '+' character in the second example explanation | ||||
Description | printf(1) contains an example printf "%d\n" 3 +3 -3 \'3 \"+3 "'-3" which for the first two lines output, is stated to produce 3 Numeric value of constant 3 3 Numeric value of constant 3 The second of those should be 3 Numeric value of constant +3 to match the command line given. | ||||
Desired Action | In line 104321 on page 3086 (XCU 2.14, printf, EXAMPLES) (in issue 8, draft 2) change: Numeric value of constant 3 to: Numeric value of constant +3 As an optional extra (not a bug) it might be worth adding one more constant to the command line (or two) and showing the output from it (or them) as well, where the added command line arg(s) would be hex &/or octal representations (0x1C or 0254 or whatever you like). | ||||
Tags | issue8 |
|
Suggested changes... After line 104302 on page 3085 (XCU 2.14, printf, EXAMPLES), add: The command:printf '%d\n' 10 010 0x10produces:10 8 16 In line 104321 on page 3086 (XCU 2.14, printf, EXAMPLES), change: Numeric value of constant 3to: Numeric value of constant +3 |
|
After line 104302 on page 3085 (XCU 2.14, printf, EXAMPLES), add:The command:printf '%d\n' 10 010 0x10produces: On page 3086 replace lines 104317-104325 with: In a locale that uses a codeset based on ISO/IEC 646: 1991, the command:printf "%d\n" 3 +3 -3 \'3 \"+3 "'-3"produces: In the paragraph at line 104326, move the second sentence ("Since the last two ...") to before the first sentence ("Note that in a locale ..."). |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-05-19 12:21 | kre | New Issue | |
2021-05-19 12:21 | kre | Name | => Robert Elz |
2021-05-19 12:21 | kre | Section | => XCU 2.14 / printf |
2021-05-19 12:21 | kre | Page Number | => 3086 |
2021-05-19 12:21 | kre | Line Number | => 104321 |
2021-06-21 09:26 | geoffclare | Note Added: 0005388 | |
2021-06-21 09:27 | geoffclare | Note Edited: 0005388 | |
2021-06-24 16:17 | geoffclare | Note Added: 0005390 | |
2021-06-24 16:18 | geoffclare | Final Accepted Text | => 0001476:0005390 |
2021-06-24 16:18 | geoffclare | Status | New => Resolved |
2021-06-24 16:18 | geoffclare | Resolution | Open => Accepted As Marked |
2021-06-24 16:18 | geoffclare | Tag Attached: issue8 | |
2021-06-24 16:26 | geoffclare | Note Edited: 0005390 | |
2021-07-02 12:18 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:12 | agadmin | Status | Applied => Closed |