about summary refs log tree commit diff
path: root/Doc/Zsh/builtins.yo
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-10-15 11:34:27 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-10-15 11:34:27 +0000
commit577ebe0b8ad4289221be0b4bc2bb03aea8477cfc (patch)
tree7fa4504c7048b90f38a187009c1813bbcac144c1 /Doc/Zsh/builtins.yo
parent0e6f26551664f4aa6fa5b4bb5ae0638930f8cf0f (diff)
downloadzsh-577ebe0b8ad4289221be0b4bc2bb03aea8477cfc.tar.gz
zsh-577ebe0b8ad4289221be0b4bc2bb03aea8477cfc.tar.xz
zsh-577ebe0b8ad4289221be0b4bc2bb03aea8477cfc.zip
use arithmetic evaluation for numeric arguments to printf (16042)
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r--Doc/Zsh/builtins.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 8d23fc175..91df46c06 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -732,8 +732,10 @@ recognised and `tt(%q)' can be used to quote the argument in such a way
 that allows it to be reused as shell input. With the numeric format
 specifiers, if the corresponding argument starts with a quote character,
 the numeric value of the following character is used as the number to
-print. With `tt(%n)', the corresponding argument is taken as an identifier
-which is created as an integer parameter.
+print otherwise the argument is evaluated as an arithmetic expression. See
+noderef(Arithmetic Evaluation) for a description of arithmetic
+expressions. With `tt(%n)', the corresponding argument is taken as an
+identifier which is created as an integer parameter.
 
 If arguments remain unused after formatting, the format string is reused
 until all arguments have been consumed. If more arguments are required by