From 6371325fdf6ca71e5f9839d65267f1d7c9a8863d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 12 Sep 2006 09:56:25 +0000 Subject: 22689: untokenize strings used in parameter substitution pattern matching --- Test/D04parameter.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 5d48328ed..7c0b28878 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -829,6 +829,10 @@ 0:(#m) flag with pure string >this 4 4 is 7 7 a s 11 11tring + print ${${~:-*}//(#m)*/$MATCH=$MATCH} +0:(#m) flag with tokenized input +>*=* + print -l JAMES${(u)${=:-$(echo yes yes)}}JOYCE print -l JAMES${(u)${=:-$(echo yes yes she said yes i will yes)}}JOYCE 0:Bug with (u) flag reducing arrays to one element -- cgit 1.4.1