summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-03-27 11:57:50 +0100
committerPeter Stephenson <pws@zsh.org>2017-03-27 11:57:50 +0100
commit5a895a5260b62c70e4aafb2d6be0e677667886d2 (patch)
tree1a4970e95ac8990655123847e7ec4d06d5ad6f98 /Doc/Zsh
parentfc1fedda954e1d10d54253cd7ec0e1bfb6e0e989 (diff)
downloadzsh-5a895a5260b62c70e4aafb2d6be0e677667886d2.tar.gz
zsh-5a895a5260b62c70e4aafb2d6be0e677667886d2.tar.xz
zsh-5a895a5260b62c70e4aafb2d6be0e677667886d2.zip
40906: Add note on use of (k) parameter subst flag.
KSH_ARRAYS generlly requires [*] or [@] to operate on the whole
array and this is true here.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/expn.yo4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index e049aa540..d161b0ba5 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1049,7 +1049,9 @@ If var(name) refers to an associative array, substitute the em(keys)
 (element names) rather than the values of the elements.  Used with
 subscripts (including ordinary arrays), force indices or keys to be
 substituted even if the subscript form refers to values.  However,
-this flag may not be combined with subscript ranges.
+this flag may not be combined with subscript ranges.  With the
+tt(KSH_ARRAYS) option a subscript `tt([*])' or `tt([@])' is needed
+to operate on the whole array, as usual.
 )
 item(tt(L))(
 Convert all letters in the result to lower case.