Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: RFC PATCH: Sketch at :@ subscripting



Lawrence Velázquez wrote on Sat, Apr 03, 2021 at 15:48:03 -0400:
> On Sat, Mar 27, 2021, at 4:27 PM, Bart Schaefer wrote:
> > On Sat, Dec 19, 2020 at 1:13 AM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
> > >   $ echo ${a[$i]}
> > >   a
> > 
> > This one is confusing and a bug ... it should be the same as
> > ${a[$[$i]]} but instead it's ${a[,3]}.  I haven't tracked down exactly
> > what's skipping everything up to but not including the first comma (it
> > is not, for example, just dropping one character).
> 
> bump

Could someone add that as an XFail test (one with the 'F' flag)?
Test/list-XFails complements Etc/BUGS as a list of known defects.

And thanks for catching everything you did, Lawrence!

Cheers,

Daniel




Messages sorted by: Reverse Date, Date, Thread, Author