From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16340 invoked from network); 30 Oct 1997 22:03:00 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 30 Oct 1997 22:03:00 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id QAA01599; Thu, 30 Oct 1997 16:51:55 -0500 (EST) Resent-Date: Thu, 30 Oct 1997 16:51:55 -0500 (EST) From: "Bart Schaefer" Message-Id: <971030134710.ZM24726@candle.brasslantern.com> Date: Thu, 30 Oct 1997 13:47:10 -0800 X-Mailer: Z-Mail (4.0b.820 20aug96) To: zsh-workers@math.gatech.edu Subject: Bug in >() redirections?? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"DON_x1.0.wO.x5GMq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3591 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu This is 3.0.5 on a Linux 2.0.31 system: zagzig[25] echo >(cat) /proc/self/fd/12 The problem with this is that /proc/self is relative to the current process, i.e. zsh itself. At least some non-builtin commands when passed that form of file name as a parameter will be unable to open the file, and in any case those special files are symlinks on Linux and do not qualify as named pipes. zagzig[28] file <(sleep 10) /proc/self/fd/11: broken symbolic link to [0000]:510538 zagzig[29] file >(sleep 10) /proc/self/fd/12: broken symbolic link to [0000]:510543 It would seem from this that Linux should NOT use the PATH_DEV_FD code in exec.c. Am I missing something? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com