Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Oh no, parameter expansion
- X-seq: zsh-workers 9780
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Oh no, parameter expansion
- Date: Thu, 17 Feb 2000 18:39:56 +0000
- In-reply-to: "Sven Wischnowsky"'s message of "Thu, 17 Feb 2000 14:49:41 +0100." <200002171349.OAA26252@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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