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

Re: PATCH: Re: Oh no, parameter expansion



Sven Wischnowsky wrote:
> The patch below should make it return a string only if the subscript
> does not contain a comma. I.e. with $a being an array, $a[1] gives a
> string and $a[1,1] gives an array. Seems sensible, doesn't it?

Yes, that's much more logical.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>



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