From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6995 invoked by alias); 15 Jul 2013 14:39:35 -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: 31517 Received: (qmail 5927 invoked from network); 15 Jul 2013 14:39:28 -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, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.82.182 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:mime-version :content-type:content-disposition:user-agent; bh=nOhlSeNT2KVM9jmHmvM0zCieoL01Ab90Ft3H/A+Npxc=; b=nlMhabW8TLKxh8Dk/sFTZjOaNa4MQhc4/bTB/XvmUA3v9knsrKDJi2IhPaTGvT8aWv c36owyXq85adUOP8I+jbbWLS6U0TL5z4T6FOKmkoih4H+0gMW8PBXNhoUCxpzZwRr8cK 2r/lvqARIvWMFT4VJzSIVSHIJp+/H81SzgLg7mCF7AWtUR90mrel7NVWrZZePuiLXTLe z7yOigiyQ2Pf46RUawKq42SgP8AkJIbtW9xwley/R8u195kE5dAfrJadp6IilnUkEoOu i6X5rE+QaFXEMPDk0vomYXgZVCeIvT7QQ+YV5CULgS7C0Gdzcv0xyPXv1iMQAVuwYFVI b3mQ== X-Received: by 10.194.75.201 with SMTP id e9mr31036051wjw.20.1373895327613; Mon, 15 Jul 2013 06:35:27 -0700 (PDT) Date: Mon, 15 Jul 2013 14:35:25 +0100 From: Stephane Chazelas To: zsh-workers@zsh.org Subject: bug with eval, proc-subst and pipes Message-ID: <20130715133525.GA7694@chaz.gmail.com> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Under: ZDOTDIR=/some/new/dir zsh -f autoload compinit compinit OK$ eval 'paste <(echo 1) <(echo 2) <(echo 3)' | cat 1 2 3 OK$ eval 'paste <(echo 1) <(echo 2) <(echo 3) <(echo 4)' 1 2 3 4 OK$ paste <(echo 1) <(echo 2) <(echo 3) <(echo 4) | cat 1 2 3 4 NOK$ eval 'paste <(echo 1) <(echo 2) <(echo 3) <(echo 4)' | cat paste: /proc/self/fd/13: No such file or directory That is, it occurs only with the "eval" with the "| something" and with 4 process substitutions or more. I can't reproduce it with zsh -f, and it starts to occur after running "compinit". strangely not when compinit is called under "set -x". Reproduced with Zsh 5.0.2 on Debian amd64 on two different machines, not with 4.3.17 on Ubuntu 12.04 amd64 -- Stephane