From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14791 invoked by alias); 21 Jul 2013 19:52:10 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31552 Received: (qmail 15431 invoked from network); 21 Jul 2013 19:51:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.82.175 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=tybLMxrTGEl19BR9CQ8zAWQmhZDteOCIy2w75k6HVqw=; b=wdZA3jfpcWUJvBsvNlvzSiUry1nczbdbCQ/STB4ajbIx539xWUWzPFHWBjSVgvHQMi i3MjlBtXDNemGYubXYuIN8ft4/DfB+23yvwzQiEw/LY3mnlxApIidq0zSujjky5S41JI Hlek2V5A8wV4+pvvQDgKdOrCOd0GIr3nFWzNYr3Ssxx6rT3Qa9bwwhjIy2NTw9/apcRY IUCGm5+ZaOUSOnLkoZBk+pyw7Tpcdz3zozgKq0KoI6kCyoT7g1cHU0A6GYRPO1jRSrWl f1xYK9HnFBnOZrepNWvsdD4hOarpiyGrbpy+wLK7xiUSvUQDTAzb7/zW6miLpV8FFByx vwVg== X-Received: by 10.180.95.201 with SMTP id dm9mr27866520wib.21.1374436307884; Sun, 21 Jul 2013 12:51:47 -0700 (PDT) Date: Sun, 21 Jul 2013 20:51:46 +0100 From: Stephane Chazelas To: Peter Stephenson , zsh-workers@zsh.org Subject: Re: bug with eval, proc-subst and pipes Message-ID: <20130721195146.GD10400@chaz.gmail.com> Mail-Followup-To: Peter Stephenson , zsh-workers@zsh.org References: <20130718095741.3f54725f@pwslap01u.europe.root.pri> <20130718102227.527429bd@pwslap01u.europe.root.pri> <20130718123210.054f1ea1@pwslap01u.europe.root.pri> <20130719200159.GA8712@chaz.gmail.com> <20130719205853.GB8712@chaz.gmail.com> <20130720181144.1b5a7fc0@pws-pc.ntlworld.com> <20130720202531.GA10442@chaz.gmail.com> <20130720235501.45a9e179@pws-pc.ntlworld.com> <20130721094525.GA10400@chaz.gmail.com> <20130721122343.GB10400@chaz.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130721122343.GB10400@chaz.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2013-07-21 13:23:43 +0100, Stephane Chazelas: > 2013-07-21 10:45:25 +0100, Stephane Chazelas: > [...] > > To be clear, to reproduce this new one: > > > > zsh -f > > ls() command ls "$@" > > eval 'ls -l <(echo 1) <(echo 2) <(echo 3) <(echo 4)' | cat > > > > (no need for compinit here) > [...] > > Sorry, I'm confused now. I can't reproduce it so I must have > screwed up somewhere. I'll start from scratch applying one patch > at a time to clarify things later, but for now, it seems > everything works fine with all the patches applied. [...] OK, so if we number Peter's patches on that p1 to p4, my initial issue (compinit;eval 'paste <(:) <(:) <:) <(:)'|cat) is fixed by p1+p2+p3, while (x()ls $@; eval 'x <(:) <(:)' | cat) is fixed by p1+p2+p3+p4. -- Stephane