Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zero- vs one- based array indexing?
- X-seq: zsh-workers 27288
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxxxxx>
- Subject: zero- vs one- based array indexing?
- Date: Wed, 23 Sep 2009 12:50:19 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: gak@xxxxxxxxxxxxxx
Can someone give me a quick history of why zsh defaults to one-based
array indexing? Bash and ksh appear to use zero-based indexing, and
probably most CS types prefer that too. Would it be OK to add an
option to control just zero-based arrays separately from the other
changes KSHARRAYS brings?
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author