From dc72699b6c400e530b818250c943587b3ecf663e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 31 Jul 2008 13:53:28 +0000 Subject: 25364: fix k flag in hash subscript --- Doc/Zsh/params.yo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index dedde051f..bf12b5ded 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -263,9 +263,10 @@ testing for values or keys that do not exist. item(tt(k))( If used in a subscript on an associative array, this flag causes the keys to be interpreted as patterns, and returns the value for the first key -found where var(exp) is matched by the key. This flag does not work on -the left side of an assignment to an associative array element. If used -on another type of parameter, this behaves like `tt(r)'. +found where var(exp) is matched by the key. Note this could be any +such key as no ordering of associative arrays is defined. +This flag does not work on the left side of an assignment to an associative +array element. If used on another type of parameter, this behaves like `tt(r)'. ) item(tt(K))( On an associative array this is like `tt(k)' but returns all values where -- cgit 1.4.1