* SH_WORD_SPLIT and ${(o)...}
@ 1997-08-04 15:31 Andrej Borsenkow
0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 1997-08-04 15:31 UTC (permalink / raw)
To: Zsh workers mailing list
% a=(a "b ")
% x=(x y)
% args ${a}${x}
a
b x
y
% args ${(o}a}${x}
a
b x
y
OK so far, but ...
setopt shwordsplit
% args ${a}${x}
a
b
x
y
% args ${(o}a}${x}
a
bx
y
Given, that (o) in this case does nothing I expect the second subst to
result in 4 words as well.
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-04 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-04 15:31 SH_WORD_SPLIT and ${(o)...} Andrej Borsenkow
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).