diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-06-01 20:55:39 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-06-01 20:55:39 +0100 |
commit | 501f2003a89673cebc956ec5aa5f4f401b3a8f5f (patch) | |
tree | 22b93c8461fbf6a9de5ff234bfd8f3292a8ab896 /Doc/Zsh/expn.yo | |
parent | 880020ca2ed8207fe39aa95169a6f9226ff7b8dc (diff) | |
download | zsh-501f2003a89673cebc956ec5aa5f4f401b3a8f5f.tar.gz zsh-501f2003a89673cebc956ec5aa5f4f401b3a8f5f.tar.xz zsh-501f2003a89673cebc956ec5aa5f4f401b3a8f5f.zip |
32640: (#q) in [[ ... ]] forces globbing
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r-- | Doc/Zsh/expn.yo | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index de0f454c4..6de73ea93 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -2305,7 +2305,11 @@ contained within it are balanced; appearance of `tt(|)', `tt(LPAR())' or recognised in this form even if a bare glob qualifier exists at the end of the pattern, for example `tt(*(#q*)(.))' will recognise executable regular files if both options are set; however, mixed syntax should probably be -avoided for the sake of clarity. +avoided for the sake of clarity. Note that within conditions using the +`tt([[)' form the presence of a parenthesised expression +tt(LPAR()#q...+RPAR()) at the end of a string indicates that globbing +should be performed; the expression may include glob qualifiers, but +it is also valid if it is simply tt(LPAR()#q+RPAR()). A qualifier may be any one of the following: |