From a9add3de545d71be3d882f94714e4d2857b0ef15 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Mon, 6 Jul 2015 12:02:36 -0700 Subject: 35694: fix handling of history modifiers applied across all elements of an array parameter value --- Test/D04parameter.ztst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index d06a73afd..0a9e2530c 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1711,3 +1711,12 @@ 0:Avoid confusion after overloaded characters in braceless substitution in sh >13 >0-1 + + a="aaa bab cac" + b=d + echo $a:gs/a/${b}/ + a=(aaa bab cac) + echo $a:gs/a/${b}/ +0:History modifier works the same for scalar and array substitution +>ddd bdb cdc +>ddd bdb cdc -- cgit 1.4.1