diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2022-05-14 23:32:19 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2022-05-14 23:32:19 +0200 |
commit | d4d203488826181aa4eb360ce57de138417ba680 (patch) | |
tree | 5f2939130b24381b6d8b11eec7573732eb52317a /Doc/help/unset | |
parent | 9529af723604dfe1c8152db11e1d216621c898d5 (diff) | |
parent | 73d317384c9225e46d66444f93b46f0fbe7084ef (diff) | |
download | zsh-d4d203488826181aa4eb360ce57de138417ba680.tar.gz zsh-d4d203488826181aa4eb360ce57de138417ba680.zip |
New upstream version 5.9
Diffstat (limited to 'Doc/help/unset')
-rw-r--r-- | Doc/help/unset | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/help/unset b/Doc/help/unset index a48687fd5..3e8183648 100644 --- a/Doc/help/unset +++ b/Doc/help/unset @@ -1,20 +1,20 @@ unset [ -fmv ] name ... - Each named parameter is unset. Local parameters remain local - even if unset; they appear unset within scope, but the previous + Each named parameter is unset. Local parameters remain local + even if unset; they appear unset within scope, but the previous value will still reappear when the scope ends. Individual elements of associative array parameters may be unset - by using subscript syntax on name, which should be quoted (or - the entire command prefixed with noglob) to protect the sub- + by using subscript syntax on name, which should be quoted (or + the entire command prefixed with noglob) to protect the sub- script from filename generation. - If the -m flag is specified the arguments are taken as patterns - (should be quoted) and all parameters with matching names are + If the -m flag is specified the arguments are taken as patterns + (should be quoted) and all parameters with matching names are unset. Note that this cannot be used when unsetting associative - array elements, as the subscript will be treated as part of the + array elements, as the subscript will be treated as part of the pattern. - The -v flag specifies that name refers to parameters. This is + The -v flag specifies that name refers to parameters. This is the default behaviour. unset -f is equivalent to unfunction. |