Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Pipeline question (echo hello | echo $(cat))
- X-seq: zsh-users 13726
- From: Matthew Flaschen <matthew.flaschen@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Pipeline question (echo hello | echo $(cat))
- Date: Sun, 18 Jan 2009 15:17:16 -0500
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I have a question about command lines like:
echo hello | echo $(cat)
Both bash and dash give:
hello
but zsh executes it in the other order, so errors:
cat: -: Input/output error
This occurs even when zsh is run as sh.
Can anyone shed some light on this? Is either behavior specified by POSIX?
Matt Flaschen
Messages sorted by:
Reverse Date,
Date,
Thread,
Author