about summary refs log tree commit diff
diff options
context:
space:
mode:
authorivan tkachenko <me@ratijas.tk>2020-11-12 20:42:54 +0300
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-11-16 18:07:53 +0000
commit038f537a2a96f903ca604b44c79ad2a11b69648c (patch)
tree1ab4b302d70bf5f534715f7a775c37e6dc48e17c
parentbd647c156549b2f666e5fae80f1ca674b6cde895 (diff)
downloadzsh-038f537a2a96f903ca604b44c79ad2a11b69648c.tar.gz
zsh-038f537a2a96f903ca604b44c79ad2a11b69648c.tar.xz
zsh-038f537a2a96f903ca604b44c79ad2a11b69648c.zip
47547: docs: Specify the exact kind of quoting which is assumed when parsing arithmetic expressions
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/arith.yo2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bd6b0849f..f7bbd0924 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-16  ivan tkachenko  <me@ratijas.tk>
+
+	* 47547: Doc/Zsh/arith.yo: docs: Specify the exact kind of
+	quoting which is assumed when parsing arithmetic expressions
+
 2020-11-16  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* 47560: configure.ac, aczsh.m4: add necessary includes or
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo
index c152bf48d..bc3e35ad5 100644
--- a/Doc/Zsh/arith.yo
+++ b/Doc/Zsh/arith.yo
@@ -20,7 +20,7 @@ The tt(let) builtin command takes arithmetic expressions as arguments; each
 is evaluated separately.  Since many of the arithmetic operators, as well
 as spaces, require quoting, an alternative form is provided: for any
 command which begins with a `tt(LPAR()LPAR())', all the characters until a
-matching `tt(RPAR()RPAR())' are treated as a quoted expression and
+matching `tt(RPAR()RPAR())' are treated as a double-quoted expression and
 arithmetic expansion performed as for an argument of tt(let).  More
 precisely, `tt(LPAR()LPAR())var(...)tt(RPAR()RPAR())' is equivalent to
 `tt(let ")var(...)tt(")'.  The return status is 0 if the arithmetic value