zsh-workers
 help / color / mirror / code / Atom feed
* Process substitution and builtins
@ 2005-07-14 23:34 Alexey Tourbin
  2005-07-16 16:16 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2005-07-14 23:34 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

Hello,

$ echo <(date)
/home/at/tmp/zsh0prNlb
zsh: can't open /home/at/tmp/zsh0prNlb: no such file or directory
$ /bin/echo <(date)
/home/at/tmp/zshoAPhz3
$

$ : <(date)
zsh: can't open /home/at/tmp/zsh0ZO11y: no such file or directory
$ /bin/true <(date)
$

Looks like a bug for me...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Process substitution and builtins
  2005-07-14 23:34 Process substitution and builtins Alexey Tourbin
@ 2005-07-16 16:16 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2005-07-16 16:16 UTC (permalink / raw)
  To: zsh-workers

On Jul 15,  3:34am, Alexey Tourbin wrote:
}
} $ echo <(date)
} /home/at/tmp/zsh0prNlb
} zsh: can't open /home/at/tmp/zsh0prNlb: no such file or directory

 Each command argument of the form `<(LIST)', `>(LIST)' or `=(LIST)' is
 subject to process substitution.  In the case of the < or > forms, the
 shell runs process LIST asynchronously.  If the system supports the
 /dev/fd mechanism, the command argument is the name of the device file
 corresponding to a file descriptor; otherwise, if the system supports
 named pipes (FIFOs), the command argument will be a named pipe.

So evidently your system does not support /dev/fd, and zsh is having
some trouble managing the named pipe.  What version of zsh?  What
happens if you try

    echo <(sleep 2; date)

??

I can't reproduce your error, but all the systems to which I have access
are systems that support /dev/fd.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-16 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 23:34 Process substitution and builtins Alexey Tourbin
2005-07-16 16:16 ` 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).