From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Sebastian Gniazdowski <psprint@fastmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: [BUG] (z)-flag interrupts if $() in input
Date: Sun, 30 Oct 2016 15:25:25 +0000 [thread overview]
Message-ID: <20161030152525.GA12137@fujitsu.shahaf.local2> (raw)
In-Reply-To: <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?
next prev parent reply other threads:[~2016-10-30 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 6:33 Sebastian Gniazdowski
2016-10-30 15:25 ` Daniel Shahaf [this message]
2016-10-30 17:09 ` Peter Stephenson
2016-10-30 18:04 ` Bart Schaefer
2016-10-30 20:14 ` Bart Schaefer
2016-11-03 10:23 ` Peter Stephenson
2016-10-30 17:55 ` Bart Schaefer
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=20161030152525.GA12137@fujitsu.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=psprint@fastmail.com \
--cc=zsh-workers@zsh.org \
/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).