Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Strange parameter visibility



On Sat, Sep 17, 2016 at 6:42 PM, Eric Cook <llua@xxxxxxx> wrote:
>
> It's a normal assignment just like the x=1. the weirdness is zsh
> optimizing out a fork in the pipeline, so the scope of the
> reassignment wasn't just a subshell.

I have to conclude that's a bug -- it's OK to optimize out the fork,
but not to optimize out its side effects (or cause new ones).



Messages sorted by: Reverse Date, Date, Thread, Author