From: Martijn Dekker <martijn@inlv.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: $* assignment regression in shwordsplit
Date: Sun, 2 Apr 2017 19:49:47 +0200 [thread overview]
Message-ID: <3a1681b7-97b1-4aaa-1c32-62770ba46d96@inlv.org> (raw)
In-Reply-To: <662d58a2-94fd-657c-e414-452f48ef47fc@inlv.org>
Op 02-04-17 om 19:45 schreef Martijn Dekker:
> $ Src/zsh -f -c 'set -- one two; IFS=; var=$*/$*; echo $var $*/$*;
> setopt shwordsplit; var=$*/$*; echo "$var" "$*/$*"'
> onetwo/onetwo onetwo/onetwo
> onetwo/$* onetwo/onetwo
Correction, the output of this one is actually:
onetwo/onetwo one two/one two
onetwo/$* onetwo/onetwo
Had accidentally left the output of a previous version of the test that
quoted all 'echo' arguments even before setting shwordsplit. This
correction is just for accuracy, it's not actually relevant to the bug
report.
- M.
next prev parent reply other threads:[~2017-04-02 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 17:45 Martijn Dekker
2017-04-02 17:49 ` Martijn Dekker [this message]
2017-04-02 17:58 ` Daniel Shahaf
2017-04-02 20:15 ` 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=3a1681b7-97b1-4aaa-1c32-62770ba46d96@inlv.org \
--to=martijn@inlv.org \
--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).