From: Louis-David Mitterrand <vindex+lists-zsh-users@apartia.org>
To: zsh-users@sunsite.dk
Subject: Re: parse error in process substitution
Date: Mon, 10 Nov 2008 09:21:52 +0100 [thread overview]
Message-ID: <20081110082152.GA9563@apartia.fr> (raw)
In-Reply-To: <081106082517.ZM27477@torch.brasslantern.com>
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@my.host.name tail -F /var/log/kern.log),red,
Thanks,
--
http://www.critikart.net
next prev parent reply other threads:[~2008-11-10 8:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 15:02 Louis-David Mitterrand
2008-11-06 16:25 ` Bart Schaefer
2008-11-10 8:21 ` Louis-David Mitterrand [this message]
2008-11-10 14:28 ` Peter Stephenson
2008-11-10 14:32 ` Peter Stephenson
2008-11-10 14:42 ` Louis-David Mitterrand
2008-11-10 14:55 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081110082152.GA9563@apartia.fr \
--to=vindex+lists-zsh-users@apartia.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).