* rcexpandparam doesn't take effect in ${=:-one $array}
@ 2014-08-03 1:32 Han Pingtian
0 siblings, 0 replies; only message in thread
From: Han Pingtian @ 2014-08-03 1:32 UTC (permalink / raw)
To: zsh-users
Hi,
I found that no matter rcexpandparam being set or not, ${=:-one $array}
will expand to the same result:
% zsh -f
localhost% array=(two three)
localhost% print -l ${:-one $array}
one two
three
localhost% print -l ${=:-one $array}
one
two
three
localhost% setopt rcexpandparam
localhost% print -l ${:-one $array}
one two
one three
localhost% print -l ${=:-one $array}
one
two
three
localhost%
I think the last command should print
one
two
one
three
but it isn't.
Thanks in advance.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-03 1:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-03 1:32 rcexpandparam doesn't take effect in ${=:-one $array} Han Pingtian
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).