> >
> > If there is not currently a friendlier syntax for this, might I suggest:
> >
> > ${arr[-1]}
>
> What's wrong with echo ${arr[@]: -1} ?
>
I assume this syntax is new since 2.05b.01(1), which is what I currently have
access to. I did check the latest "what's new" before posting, but it must
have been in a previous one. Thanks.
--
Poor Yorick