Bug: temporary assignments vs shell function

2011-07-14 Thread Rudolf Polzer
it, at the same time (Schrödinger's Execution Environment). Most other shells however resolve this in some way so that the called command sees the assignments, and after the command completes, the assignments are undone, and I would like dash to do the same. Best regards, Rudolf Polzer -- To unsubscribe from

Re: Bug: temporary assignments vs shell function

2011-07-14 Thread Rudolf Polzer
On Thu, Jul 14, 2011 at 04:26:16AM -0500, Jonathan Nieder wrote: Hi, Rudolf Polzer wrote: foo=bar func echo foo is now $foo will export foo=bar in global scope (i.e. it affects the execution environment after the function call). [...] A shell function however isn't a special