Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: parse error in process substitution
- X-seq: zsh-users 13438
- From: Louis-David Mitterrand <vindex+lists-zsh-users@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: parse error in process substitution
- Date: Mon, 10 Nov 2008 09:21:52 +0100
- In-reply-to: <081106082517.ZM27477@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20081106150224.GA10992@xxxxxxxxxx> <081106082517.ZM27477@xxxxxxxxxxxxxxxxxxxxxx>
On Thu, Nov 06, 2008 at 08:25:17AM -0800, Bart Schaefer wrote:
> On Nov 6, 4:02pm, Louis-David Mitterrand wrote:
> } Subject: parse error in process substitution
> }
> } zsh: parse error in process substitution
>
> Because <(...) isn't really a parse element all by itself, so zsh is
> trying to parse "(...),red," as a word, and not succeeding.
>
> Note that the zsh documentation says that "<(...)" becomes a separate
> command word -- this has been discussed before, check list archives --
> so even if it were parsed successfully your command would receive the
> two arguments /dev/fd/11 ,red, not the single argument /dev/fd/11,red,
> (for example).
So how would you convert that working bash command to zsh?
root-tail <(ssh root@xxxxxxxxxxxx tail -F /var/log/kern.log),red,
Thanks,
--
http://www.critikart.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author