Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: BUG: zsh-3.1.5-pws-14: parameter expansion not working properly
- X-seq: zsh-workers 6048
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: BUG: zsh-3.1.5-pws-14: parameter expansion not working properly
- Date: Fri, 16 Apr 1999 11:48:58 +0400
- Importance: Normal
- In-reply-to: <199904160736.JAA15853@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Unfortunately, I haven't followed this discussion closely - buy there is one
thing that actually nerves me.
It is *impossible* to split array elements. It is no joke. Arrays are joined
together before splitting - so, the result I get is much much different. As
example,
foo=(a:b x:y)
bor@itsrm2:~%> print -l ${(s/:/)foo}
a
b x
y
Where I would actually expect
a
b
x
y
Subsequent splitting on IFS does not help, as it can change "too much"
May be, nobody really needs it (I missed it time to time). And may be, there
is always workaround. But it is really really weird ...
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author