diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-04-13 21:30:06 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-13 21:30:06 -0700 |
commit | f85cb4504561df0b486e3e140d4c0434516a0f7f (patch) | |
tree | 076e1c7ff63c0b59573f5f993e50b63791b7f651 /Doc/Zsh/builtins.yo | |
parent | 0793ce4e61290d15ee7e53c15a2b8425e20c806c (diff) | |
parent | fefd3854b4abea8b46a2ad568762d3a710af77d9 (diff) | |
download | zsh-f85cb4504561df0b486e3e140d4c0434516a0f7f.tar.gz zsh-f85cb4504561df0b486e3e140d4c0434516a0f7f.tar.xz zsh-f85cb4504561df0b486e3e140d4c0434516a0f7f.zip |
Merge branch 'typesettounset' into declarednull declarednull
Adds 'setopt typeset_to_unset', documentation, failure tests for POSIX incompatibilies, etc.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index a7afe42cf..61dc6986f 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1872,7 +1872,11 @@ ifnzman(noderef(Local Parameters))\ retain their special attributes when made local. For each var(name)tt(=)var(value) assignment, the parameter -var(name) is set to var(value). +var(name) is set to var(value). If the assignment is omitted and var(name) +does em(not) refer to an existing parameter, a new parameter is intialized +to empty string, zero, or empty array (as appropriate), em(unless) the +shell option tt(TYPESET_TO_UNSET) is set. When that option is set, +the parameter attributes are recorded but the parameter remains unset. If the shell option tt(TYPESET_SILENT) is not set, for each remaining var(name) that refers to a parameter that is already set, the name and |