Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug with eval, proc-subst and pipes
- X-seq: zsh-workers 31517
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: bug with eval, proc-subst and pipes
- Date: Mon, 15 Jul 2013 14:35:25 +0100
- 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==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author