From c4679383109f8e4f93c13b1eb30d352503b943e0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 27 May 2008 10:26:55 +0000 Subject: unposted: more NEWS users/12870: document that modifiers in glob qualifiers activate global globbing behaviour --- Doc/Zsh/expn.yo | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 3d4c92d4a..aa7018798 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -2176,12 +2176,13 @@ in brackets (`tt([...])'). If a `tt(:)' appears in a qualifier list, the remainder of the expression in parenthesis is interpreted as a modifier (see noderef(Modifiers) -in noderef(History Expansion)). Note that -each modifier must be introduced by a separate `tt(:)'. Note also that the -result after modification does not have to be an existing file. The -name of any existing file can be followed by a modifier of the form -`tt((:..))' even if no actual filename generation is performed. -Thus: +in noderef(History Expansion)). Each modifier must be introduced by a +separate `tt(:)'. Note also that the result after modification does not +have to be an existing file. The name of any existing file can be followed +by a modifier of the form `tt((:..))' even if no actual filename generation +is performed, although note that the presence of the parentheses +causes the entire expression to be subjected to any global pattern matching +options such as tt(NULL_GLOB). Thus: example(ls *(-/)) -- cgit 1.4.1