Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Process substitution and builtins
- X-seq: zsh-workers 21482
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Process substitution and builtins
- Date: Sat, 16 Jul 2005 16:16:00 +0000
- In-reply-to: <20050714233428.GH3337@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050714233428.GH3337@xxxxxxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author