Hi!

Consider the following:
        https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html
The third example of which reads
-- >8 --
The command:

printf "%5d%4d\n" 1 21 321 4321 54321

produces:

   1  21
  3214321
54321   0
-- >8 --

The raw HTML confirms this:
-- >8 --
<pre>
<tt>   1  21
  3214321
54321   0
</tt>
</pre>
-- >8 --
with 3 spaces before the 1, instead of the correct 4.

AFAICT, the PDFs are always correct on this spacing, from
POSIX.2-1991/D11.2 to the current draft (.1-202x/D2),
through .1-2001, .1-2008 and the 2013 edition,
the latter three of which are in the archive.

And, AFAICT, this affects all HTML versions;
this leads me to believe this is some sort of rendering error,
induced when compiling from the source format, whatever that may be.

Non-normative though this section may be, this was still mildly
confusing, and is a decisive error. I can't possibly suggest a solution,
unfortunately, for reasons I assume obvious.

Best,
наб

Please keep me in CC.

Attachment: signature.asc
Description: PGP signature

  • Misleading rendering of ... наб via austin-group-l at The Open Group

Reply via email to