From ee1222454e0fd58b70878ed6864146e00a835fd8 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 23 Nov 2016 11:52:12 +0100 Subject: unposted: fix printf -v to an array without format string reuse --- Test/B03print.ztst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Test') diff --git a/Test/B03print.ztst b/Test/B03print.ztst index 6ee2a09c6..3f9a4046d 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -316,3 +316,9 @@ typeset -p foo 0:printf into an array variable >typeset -a foo=( '1 one' '2 two' '3 three' ) + + typeset -a foo + print -f '%s' -v foo string + typeset -p foo +0:printf to an array variable without format string reuse +>typeset foo=string -- cgit 1.4.1