diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-31 13:53:28 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-31 13:53:28 +0000 |
commit | dc72699b6c400e530b818250c943587b3ecf663e (patch) | |
tree | 494587e43ea98b81bb6cecfb1fe3b70eaa0cf7ac /Doc | |
parent | 0c9830d23c87ad2a572d2c6d16b13a34001b9634 (diff) | |
download | zsh-dc72699b6c400e530b818250c943587b3ecf663e.tar.gz zsh-dc72699b6c400e530b818250c943587b3ecf663e.tar.xz zsh-dc72699b6c400e530b818250c943587b3ecf663e.zip |
25364: fix k flag in hash subscript
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/params.yo | 7 |
1 files changed, 4 insertions, 3 deletions
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 |