zsh-users
 help / color / mirror / code / Atom feed
* splitting in assignment forms of expansion
@ 2012-09-27  2:42 Han Pingtian
  2012-09-27  4:41 ` Mikael Magnusson
  0 siblings, 1 reply; 4+ messages in thread
From: Han Pingtian @ 2012-09-27  2:42 UTC (permalink / raw)
  To: zsh-users

Hello,

The manpage of zshexpn states about "${=...}":

      Note  that  splitting is applied to word in the assignment forms
      of spec before  the  assignment  to  name  is  performed.   This
      affects the result of array assignments with the A flag.

but looks like the splitting isn't applied to word first:

% print -l ${=xx::=foo           bar}
foo
bar
%  print -l $xx
foo           bar
%

I'm confused on this. Please help.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-27  7:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-27  2:42 splitting in assignment forms of expansion Han Pingtian
2012-09-27  4:41 ` Mikael Magnusson
2012-09-29  1:40   ` Han Pingtian
2012-12-27  7:08   ` 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).