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 --- Test/A01grammar.ztst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Test/A01grammar.ztst') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index c8bf91cff..decab32b8 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -577,3 +577,15 @@ 0:$0 is traditionally if bizarrely set to the first argument with -c >myargzero >myargone + + (setopt shglob + eval ' + if ! (echo success1); then echo failure1; fi + if !(echo success2); then echo failure2; fi + print -l one two | while(read foo)do(print read it)done + ') +0:Parentheses in shglob +>success1 +>success2 +>read it +>read it -- cgit 1.4.1