From 8bc64084a46c79be5659ef42c746a3b806816c7f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 31 Aug 2010 19:32:56 +0000 Subject: 28220 plus some comments: fix "HELLO=$HELLO shellfunc" --- Test/A06assign.ztst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Test/A06assign.ztst') diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst index bbed909c5..44c8e3193 100644 --- a/Test/A06assign.ztst +++ b/Test/A06assign.ztst @@ -277,3 +277,18 @@ > > > + + call() { print $HELLO; } + export HELLO=world + call + HELLO=universe call + call + HELLO=${HELLO}liness call + call + unset HELLO +0:save and restore when using original value in temporary +>world +>universe +>world +>worldliness +>world -- cgit 1.4.1