zsh-users
 help / color / mirror / code / Atom feed
* ${^var} and word splitting
@ 2014-11-24  9:56 Stephane Chazelas
  2014-11-24 11:12 ` Peter Stephenson
       [not found] ` <20141124111201.161d8cf2__23261.8202259347$1416827641$gmane$org@pwslap01u.europe.root.pri>
  0 siblings, 2 replies; 9+ messages in thread
From: Stephane Chazelas @ 2014-11-24  9:56 UTC (permalink / raw)
  To: Zsh hackers list

$ a='  1 2   3  '
$ print -l $=a
1
2
3
$ print -l x$^=a
x
x1
x2
x3
x
$ print -l x${^${=a}}
x1
x2
x3


Why the extra "x" lines with x$^=a ?

Same for the (s:sep:) or (f) expansion flags.

-- 
Stephane


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

end of thread, other threads:[~2014-11-25 12:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24  9:56 ${^var} and word splitting Stephane Chazelas
2014-11-24 11:12 ` Peter Stephenson
     [not found] ` <20141124111201.161d8cf2__23261.8202259347$1416827641$gmane$org@pwslap01u.europe.root.pri>
2014-11-24 15:26   ` Stephane Chazelas
2014-11-24 15:55     ` Peter Stephenson
2014-11-24 16:55       ` Bart Schaefer
2014-11-24 17:22         ` Peter Stephenson
     [not found]     ` <20141124155524.0739b3ec__26419.4987401881$1416845250$gmane$org@pwslap01u.europe.root.pri>
2014-11-24 21:18       ` Stephane Chazelas
2014-11-25  7:49         ` Bart Schaefer
     [not found]         ` <141124234931.ZM17259__8246.8130779036$1416901919$gmane$org@torch.brasslantern.com>
2014-11-25 12:12           ` Stephane Chazelas

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).