From 6ce696f35236dc4c1b6249c6f1e7f64cc95a6046 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 29 Sep 2016 17:29:58 +0100 Subject: 39502: Fork for assignment in LHS of pipeline. foo=bar | stuff left the value of foo set to bar as we didn't realise we needed to fork. --- Test/A01grammar.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test/A01grammar.ztst') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 921ff99a4..0b1085c3e 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -756,3 +756,10 @@ > print Stuff here >} >Stuff here + + x=1 + x=2 | echo $x + echo $x +0:Assignment-only current shell commands in LHS of pipelin +>1 +>1 -- cgit 1.4.1