From c7a2d2225e41e38f54ace2809fd61d3867fdd43b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 21 May 2003 16:20:54 +0000 Subject: 18565: bug when ${(u)...} reduced array to length 1 --- Test/D04parameter.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 3327caf9d..5700a0722 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -589,3 +589,13 @@ 0:Parameters associated with (#m) flag >MATCH 16 20 MATCH >5 + + 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 +>JAMESyesJOYCE +>JAMESyes +>she +>said +>i +>willJOYCE -- cgit 1.4.1