From e2d855f3644064cd4e17b84d08f03a5740b5bae5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 9 Apr 2010 15:40:13 +0000 Subject: 27865: fix problem with glob_subst in parameter subsitution --- Test/D04parameter.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index d43e60efa..1035fd49b 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -221,6 +221,16 @@ >\\foo matched by \\*\\ >a\\b not matched by \\*\\ + ( + setopt globsubst + foo="boring*" + print ${foo+$foo} + print ${foo+"$foo"} + ) +0:globsubst together with nested quoted expansion +>boringfile +>boring* + print -l "${$(print one word)}" "${=$(print two words)}" 0:splitting of $(...) inside ${...} >one word -- cgit 1.4.1