Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: RC_EXPAND_PARAM bug
- X-seq: zsh-workers 3391
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxxxxxxx>
- Subject: Re: RC_EXPAND_PARAM bug
- Date: Wed, 30 Jul 1997 09:46:56 +0400 (MSD)
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hacking and development <zsh-workers@xxxxxxxxxxxxxxx>
- In-reply-to: <199707300516.BAA01180@xxxxxxxxxx>
- Reply-to: borsenkow.msk@xxxxxx
On Wed, 30 Jul 1997, Zoltan Hidvegi wrote:
>
> What would be the preferred evaluation of ${^a}1${^^x}?
>
> Alternatives:
>
> 1. a1x ay b1x by (current)
>
> 2. a1x y b1x y (beta16 and older)
>
> 3. a1x b1x y (just an other logical solution).
>
> The current behaviour is the simplest to code solution, I think the other
> two are not very hard to implement, but I'm not sure it is worth the
> extra effort.
>
zsh-3.1.2 with RC_EXPAND_PARAM bugfix.
% echo ${^a}1${^^x}
a1x ay b1x by
% echo ${^^a}1${^x}
a b1x b1y
It looks illogical. Either the latter should be 'ax b1x ay b1y' or the
former 'a1x b1x y'.
-------------------------------------------------------------------------
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