From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18968 invoked from network); 23 Sep 2009 16:57:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 23 Sep 2009 16:57:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 53327 invoked from network); 23 Sep 2009 16:50:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Sep 2009 16:50:33 -0000 Received: (qmail 26995 invoked by alias); 23 Sep 2009 16:50:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27288 Received: (qmail 26976 invoked from network); 23 Sep 2009 16:50:29 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 23 Sep 2009 16:50:29 -0000 Received: from QMTA12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by bifrost.dotsrc.org (Postfix) with ESMTP id 6B303801E2BF for ; Wed, 23 Sep 2009 18:50:21 +0200 (CEST) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA12.westchester.pa.mail.comcast.net with comcast id kBsz1c00A0bG4ec5CGqMJZ; Wed, 23 Sep 2009 16:50:21 +0000 Received: from smtp.klanderman.net ([98.217.254.247]) by OMTA03.westchester.pa.mail.comcast.net with comcast id kGqL1c00Y5M2Np63PGqL6q; Wed, 23 Sep 2009 16:50:21 +0000 Received: from lwm.klanderman.net (unknown [192.168.100.50]) by smtp.klanderman.net (Postfix) with ESMTP id 8C0C3B30148 for ; Wed, 23 Sep 2009 12:50:19 -0400 (EDT) Received: by lwm.klanderman.net (Postfix, from userid 500) id 752679FC5FA; Wed, 23 Sep 2009 12:50:19 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19130.20939.395217.755549@gargle.gargle.HOWL> Date: Wed, 23 Sep 2009 12:50:19 -0400 From: Greg Klanderman To: Zsh list Subject: zero- vs one- based array indexing? Reply-To: gak@klanderman.net X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV 0.94.2/9827/Wed Sep 23 15:12:45 2009 on bifrost X-Virus-Status: Clean 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