Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Subscript of negatively-subscripted array element gives incorrect result
- X-seq: zsh-workers 19695
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Subscript of negatively-subscripted array element gives incorrect result
- Date: Fri, 26 Mar 2004 04:28:54 +0000
- In-reply-to: <200403251956.00439.jonathan-hankins@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200403251956.00439.jonathan-hankins@xxxxxxxxxxxxxx>
On Mar 25, 7:56pm, Jonathan Hankins wrote:
}
} I am getting different results taking a substring of the same array element
} when I index it negatively than when I index it positively.
At first glance, it appears to be the case that positive-indexing returns
a scalar whereas negative indexing returns a one-element array.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author