diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-16 14:00:11 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-16 14:00:11 +0000 |
commit | 268e56a1446af3ca6df84789180b87ac4f57d1d3 (patch) | |
tree | 57ea3541a19ae7007b910d391bc4a1af6d9d53af /Doc/Zsh | |
parent | 1849668c81919808b206550fd176b203e67026db (diff) | |
download | zsh-268e56a1446af3ca6df84789180b87ac4f57d1d3.tar.gz zsh-268e56a1446af3ca6df84789180b87ac4f57d1d3.tar.xz zsh-268e56a1446af3ca6df84789180b87ac4f57d1d3.zip |
30169: repeat "typeset -T" with same two first arguments is not an error
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/builtins.yo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 98c470a54..5c133a856 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1552,7 +1552,9 @@ an array to var(SCALAR) is an error, and assigning a scalar to var(array) sets it to be a single-element array. Note that both `tt(typeset -xT ...)' and `tt(export -T ...)' work, but only the scalar will be marked for export. Setting the value using the scalar version causes a split on all -separators (which cannot be quoted). +separators (which cannot be quoted). It is possible to use the +same two tied variables with a different separator character in which +case the variables remain joined as before but the separator is changed. The tt(-g) (global) flag is treated specially: it means that any resulting parameter will not be restricted to local scope. Note that this |