From 73ebca4fe92767665422e7fd5dc15032add389b4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 21 Feb 2011 11:32:47 +0000 Subject: 28783: allow parentheses to be special in more places with SH_GLOB --- Doc/Zsh/options.yo | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 842e5c27b..4ecf8f831 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -683,8 +683,12 @@ item(tt(SH_GLOB) )( Disables the special meaning of `tt(LPAR())', `tt(|)', `tt(RPAR())' and 'tt(<)' for globbing the result of parameter and command substitutions, and in some other places where -the shell accepts patterns. This option is set by default if zsh is -invoked as tt(sh) or tt(ksh). +the shell accepts patterns. If tt(SH_GLOB) is set but tt(KSH_GLOB) is +not, the shell allows the interpretation of +subshell expressions enclosed in parentheses in some cases where there +is no space before the opening parenthesis, e.g. tt(!LPAR()true+RPAR()) +is interpreted as if there were a space after the tt(!). This option is +set by default if zsh is invoked as tt(sh) or tt(ksh). ) pindex(UNSET) pindex(NO_UNSET) -- cgit 1.4.1