Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange parameter visibility
- X-seq: zsh-users 21941
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Strange parameter visibility
- Date: Sat, 17 Sep 2016 21:37:11 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=u+BxWBn0P/SXgM32+xiNE1QZIWHLW/4BXtOoGJFCIFc=; b=Zrk+ODpUtWGmsnv9YI7LX24pd9hC5/oXIgtjcGG4A4+JVJhdFTCrT8j0HX2Wz8fzvK qZPkD78XORYpw39DJEqk3d77Hn0drYNLZm4OpY1ORR/zTtoqAjnFBI1ybhVC3ZuVxOWQ e3kGWcnO4x4yTdWzHENmYvi5zZwbOgJ7Bj54o4hQ2xlYhhnc//Hq5fou8JNQpVfVCnzm xTh2dTc8sLx2XwzT3CjIQ/xQdnsJcX0QoR00/bnadILQwVrqD7QvmesyYoW1icakMAas i5hbdNB1rG6njgF3nOI/M0l2qJu4defPDb11iQx0DhqtZOfMa5xWwcaDynAV9vjQpPTD 9hVw==
- In-reply-to: <831b307a-a00f-1df7-5136-17fcb769ccaf@gmx.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <87bmzmtmzq.fsf@alfa.kjonca> <831b307a-a00f-1df7-5136-17fcb769ccaf@gmx.com>
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