From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23752 invoked by alias); 18 Jul 2013 18:26:08 -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: 31540 Received: (qmail 13786 invoked from network); 18 Jul 2013 18:26:02 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130718112531.ZM21118@torch.brasslantern.com> Date: Thu, 18 Jul 2013 11:25:31 -0700 In-reply-to: <130718110826.ZM21070@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: bug with eval, proc-subst and pipes" (Jul 18, 11:08am) References: <20130715133525.GA7694@chaz.gmail.com> <130715100624.ZM14123@torch.brasslantern.com> <20130716215540.22d88a27@pws-pc.ntlworld.com> <130717000027.ZM15643@torch.brasslantern.com> <20130717201733.2c0b029b@pws-pc.ntlworld.com> <20130718094432.GA12262@chaz.gmail.com> <130718110826.ZM21070@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: bug with eval, proc-subst and pipes MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jul 18, 11:08am, Bart Schaefer wrote: } } Hmm. Some strace output would be nice, then, because the only way the } /proc/self/fd or whatever file should be not found is if the descriptor } has been closed Hrm, or if somehow it wasn't open *yet* when paste was forked, but that makes even less sense. Here's a possible experiment: What do you get if you replace "paste" with "ls -l" ? I get this on CentOS: lr-x------ 1 schaefer schaefer 64 Jul 18 11:22 /proc/self/fd/13 -> pipe:[815357] lr-x------ 1 schaefer schaefer 64 Jul 18 11:22 /proc/self/fd/14 -> pipe:[815358] lr-x------ 1 schaefer schaefer 64 Jul 18 11:22 /proc/self/fd/15 -> pipe:[815359] lr-x------ 1 schaefer schaefer 64 Jul 18 11:22 /proc/self/fd/16 -> pipe:[815360] Or on ubuntu: prw-rw---- 0 schaefer staff 2 Jul 18 11:20 /dev/fd/13 prw-rw---- 0 schaefer staff 2 Jul 18 11:20 /dev/fd/14 prw-rw---- 0 schaefer staff 2 Jul 18 11:20 /dev/fd/15 prw-rw---- 0 schaefer staff 2 Jul 18 11:20 /dev/fd/16