diff options
author | Martijn Dekker <martijn@inlv.org> | 2018-12-25 17:18:57 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2018-12-30 18:03:02 +0000 |
commit | 4215fcb1075f4608cf039ae9b593b07580060a70 (patch) | |
tree | 2586b5122d62b4715afdd0a14fb1866d0b20b6d1 /Doc/Zsh | |
parent | d0f92b448e74206a08ee2718d74766b9e9ddd349 (diff) | |
download | zsh-4215fcb1075f4608cf039ae9b593b07580060a70.tar.gz zsh-4215fcb1075f4608cf039ae9b593b07580060a70.tar.xz zsh-4215fcb1075f4608cf039ae9b593b07580060a70.zip |
43944: apply NO_UNSET consistently to arithmeitc
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/options.yo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 25b3d5736..bc182eb7b 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -753,7 +753,9 @@ pindex(NOUNSET) cindex(parameters, substituting unset) cindex(unset parameters, substituting) item(tt(UNSET) (tt(PLUS()u), ksh: tt(PLUS()u)) <K> <S> <Z>)( -Treat unset parameters as if they were empty when substituting. +Treat unset parameters as if they were empty when substituting, and as if +they were zero when reading their values in arithmetic expansion and +arithmetic commands. Otherwise they are treated as an error. ) pindex(WARN_CREATE_GLOBAL) |