summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 85b0bb0c5..0646a6672 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -8454,11 +8454,12 @@ all of the given @var{argument}s.
argument string with @samp{\} escapes interpreted in the same way as in
the @var{format} string.
-@kindex \0ooo
-@kindex \xhh
-@command{printf} interprets @samp{\0ooo} in @var{format} as an octal number
+@kindex \@var{ooo}
+@kindex \x@var{hh}
+
+@command{printf} interprets @samp{\@var{ooo}} in @var{format} as an octal number
(if @var{ooo} is 0 to 3 octal digits) specifying a character to print,
-and @samp{\xhh} as a hexadecimal number (if @var{hh} is 1 to 2 hex
+and @samp{\x@var{hh}} as a hexadecimal number (if @var{hh} is 1 to 2 hex
digits) specifying a character to print.
@kindex \uhhhh