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
0001476 [Issue 8 drafts] Shell and Utilities Editorial Error 2021-05-19 12:21 2021-05-19 12:21
Reporter kre View Status public  
Assigned To
Priority normal Resolution Open  
Status New   Product Version Draft 2
Name Robert Elz
Organization
User Reference
Section XCU 2.14 / printf
Page Number 3086
Line Number 104321
Final Accepted Text
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 No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- 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


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