From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@math.gatech.edu
Subject: Bug in >() redirections??
Date: Thu, 30 Oct 1997 13:47:10 -0800 [thread overview]
Message-ID: <971030134710.ZM24726@candle.brasslantern.com> (raw)
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
reply other threads:[~1997-10-30 22:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=971030134710.ZM24726@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).