From 5a895a5260b62c70e4aafb2d6be0e677667886d2 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 27 Mar 2017 11:57:50 +0100 Subject: 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. --- Doc/Zsh/expn.yo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/expn.yo') 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. -- cgit 1.4.1