]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: printf %b: clarify octal processing
authorPádraig Brady <P@draigBrady.com>
Sun, 11 Aug 2024 13:36:21 +0000 (14:36 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 11 Aug 2024 14:11:03 +0000 (15:11 +0100)
commit296cc3ed96ed4924e75e4fbddd493c42b11a4f25
treedd9d3dc0533244e95a668c2f48b1ad9b56009700
parent586dfa995a7a3a65b629877ad58f7480805eff83
doc: printf %b: clarify octal processing

* src/printf.c: Remove redundant comment.
State explicitly that the leading 0 is the exception
from normal escape processing.  Remove a full stop for consistency.
* doc/coreutils.texi (printf invocation): Add a reference
to C99 string escapes since these are not mentioned
in the referenced glibc printf info. Also explicitly state
the leading 0 exception.  Also use NNN rather than OOO
to be consistent with the --help documentation.
Also remove and extraneous '\' and fix grammar in the info
regarding the ninth bit.
Addresses https://bugs.gnu.org/72657
doc/coreutils.texi
src/printf.c