summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-10-03 18:11:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-10-03 18:11:12 +0000
commit61b9529ff848d6758b498389256111984bda1437 (patch)
tree1b52a789c476386ebfdfb1f3ed28bd05b69d5ada /Doc/Zsh
parent76590bd93c438bb1f4dc3dc17fa478ab15533fef (diff)
downloadzsh-61b9529ff848d6758b498389256111984bda1437.tar.gz
zsh-61b9529ff848d6758b498389256111984bda1437.tar.xz
zsh-61b9529ff848d6758b498389256111984bda1437.zip
users/17310: we can't treat < after [ as a normal character.
Document problem and test for case that needs to work.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/params.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index bf9a68ba8..b7b7750ff 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -182,7 +182,10 @@ to the matching closing one is considered to be a list of flags, as in
 The flags tt(s), tt(n) and tt(b) take an argument; the delimiter
 is shown below as `tt(:)', but any character, or the matching pairs
 `tt(LPAR())...tt(RPAR())', `tt({)...tt(})', `tt([)...tt(])', or
-`tt(<)...tt(>)', may be used.
+`tt(<)...tt(>)', may be used, but note that `tt(<)...tt(>)' can only be
+used if the subscript is inside a double quoted expression or a
+parameter substitution enclosed in braces as otherwise the expression is
+interpreted as a redirection.
 
 The flags currently understood are: