about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-04-06 13:00:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-04-06 13:00:50 +0000
commit98e28ff3ed5268c3bff8a81b18dc02331ff741c5 (patch)
tree1e0be242257e32d827ea9dc78c6232a6dad72b2e /Doc
parent7af7f23508905e07fcfd990486b2998e0a23014c (diff)
downloadzsh-98e28ff3ed5268c3bff8a81b18dc02331ff741c5.tar.gz
zsh-98e28ff3ed5268c3bff8a81b18dc02331ff741c5.tar.xz
zsh-98e28ff3ed5268c3bff8a81b18dc02331ff741c5.zip
19712, 19740: allow assigning to associations with i and r subscript flags
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index ced7fb215..650a6e8d8 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -198,14 +198,14 @@ word (if the parameter is an array, if it is a scalar, or if it is a
 scalar and the `tt(w)' flag is given, respectively).  The subscript used
 is the number of the matching element, so that pairs of subscripts such as
 `tt($foo[(r))var(??)tt(,3])' and `tt($foo[(r))var(??)tt(,(r)f*])' are
-possible.  If the parameter is an associative array, only the value part
-of each pair is compared to the pattern, and the result is that value.
-Reverse subscripts may be used for assigning to ordinary array elements,
-but not for assigning to associative arrays.
+possible if the parameter is not an associative array.  If the
+parameter is an associative array, only the value part of each pair is
+compared to the pattern, and the result is that value.
 )
 item(tt(R))(
 Like `tt(r)', but gives the last match.  For associative arrays, gives
-all possible matches.
+all possible matches. May be used for assigning to ordinary array
+elements, but not for assigning to associative arrays.
 )
 item(tt(i))(
 Like `tt(r)', but gives the index of the match instead; this may not be