Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] (z)-flag interrupts if $() in input
- X-seq: zsh-workers 39773
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxxx>
- Subject: Re: [BUG] (z)-flag interrupts if $() in input
- Date: Sun, 30 Oct 2016 15:25:25 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=vQDP3d3CTKaawuin60/S0O/EsVY=; b=ljrXC39tYZqWMENMFqB5R tYLwg20gMssY+S/VvhSjJl4WIpRfSghxg4qxJpq3SwxeuNUOgZyPWfRoRtOHozIk TL3T9TveEfHuLslNOUuLsNBSnltgDp3tBIH+244xLIjVwl4l9Q/QV8mLRou6dIjc dGTxy3apE5WnBDmwcJXrRE=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=vQDP3d3CTKaawuin60/S0O/EsVY=; b=O941MZwrMMxlqwiHsm+s yKhNgsKkmtEeTEkDFjezJKvGRu/FWg0VE4pnYOcffFUNF1UeOTounC36AN912COF vUqrmN+zqCJJthZKzHm6pzCQUNbuHQpNc6h+z2ClU/kfDr6w1FWnqPkbdKKd2EjZ mq11wnBwwTSky6rXcYu1Sq8=
- In-reply-to: <1477809189.1509250.771544241.795E8177@webmail.messagingengine.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1477809189.1509250.771544241.795E8177@webmail.messagingengine.com>
Sebastian Gniazdowski wrote on Sat, Oct 29, 2016 at 23:33:09 -0700:
> Hello,
> % a='This is a $() test of z flag'
> % print -rl -- "${(z@)a}"
> This
> is
> a
> $()
>
«eval $a» returns a parse error in zsh but succeeds in sh. Let's put
(z) to one side for the moment; should the command
.
% echo foo $() bar
.
print "foo bar\n" or return a parse error?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author