* Bug in >() redirections??
@ 1997-10-30 21:47 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 1997-10-30 21:47 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-10-30 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-30 21:47 Bug in >() redirections?? Bart Schaefer
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).