A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1476 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1476 Category: Shell and Utilities Type: Error Severity: Editorial Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: XCU 2.14 / printf Page Number: 3086 Line Number: 104321 Final Accepted Text: ====================================================================== Date Submitted: 2021-05-19 12:21 UTC Last Modified: 2021-06-21 09:26 UTC ====================================================================== Summary: Missing '+' character in the second example explanation ======================================================================
---------------------------------------------------------------------- (0005388) geoffclare (manager) - 2021-06-21 09:26 https://austingroupbugs.net/view.php?id=1476#c5388 ---------------------------------------------------------------------- Suggested changes... After line 104302 on page 3085 (XCU 2.14, printf, EXAMPLES), add:<blockquote>The command:<pre>printf '%d\n' 10 010 0x10</pre> produces:<pre>10 8 16</pre> If the implementation supports floating-point conversions, the command:<pre>printf '%.2f\n' 10 010 0x10p2 10.1e2 010.1e2 0x10.1p2</pre> produces:<pre>10.00 10.00 64.00 1010.00 1010.00 64.25</pre></blockquote> In line 104321 on page 3086 (XCU 2.14, printf, EXAMPLES), change:<blockquote>Numeric value of constant 3</blockquote>to:<blockquote>Numeric value of constant +3</blockquote> Issue History 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 ======================================================================
