Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: parse error in process substitution



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