Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
SH_WORD_SPLIT and ${(o)...}
- X-seq: zsh-workers 3415
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: SH_WORD_SPLIT and ${(o)...}
- Date: Mon, 4 Aug 1997 19:31:40 +0400 (MSD)
- Reply-to: borsenkow.msk@xxxxxx
% 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@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author