about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-14 15:01:13 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-14 15:01:13 +0000
commit356af078596a5e5a85a961e9926be07a8ba092e4 (patch)
tree2d86532ddb056e1f59426f0169b1fdb59774f956 /Doc
parent537091ddf2db7d4ae4b072b40c546a4ba9ca4148 (diff)
downloadzsh-356af078596a5e5a85a961e9926be07a8ba092e4.tar.gz
zsh-356af078596a5e5a85a961e9926be07a8ba092e4.tar.xz
zsh-356af078596a5e5a85a961e9926be07a8ba092e4.zip
zsh-workers/8254
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 4eeabd6c6..e9d88cd5b 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -139,6 +139,17 @@ item(tt(R))(
 Like `tt(r)', but gives the last match.  For associative arrays, gives
 all possible matches.
 )
+item(tt(k))(
+If used in a subscript on a parameter that is not an associative
+array, this behaves like `tt(r)', but if used on an association, it
+makes the keys be interpreted as patterns and returns the first value
+whose key matches the var(exp).
+)
+item(tt(K))(
+On an associtation this is like `tt(k)' but returns all values whose
+keys match the var(exp). On other types of parameters this has the
+same effect as `tt(R)'.
+)
 item(tt(i))(
 like `tt(r)', but gives the index of the match instead; this may not
 be combined with a second argument.  For associative arrays, the key