From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7483 invoked from network); 11 Aug 2005 06:11:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Aug 2005 06:11:12 -0000 Received: (qmail 99109 invoked from network); 11 Aug 2005 06:11:04 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Aug 2005 06:11:04 -0000 Received: (qmail 24828 invoked by alias); 11 Aug 2005 06:11:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21597 Received: (qmail 24818 invoked from network); 11 Aug 2005 06:11:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Aug 2005 06:11:01 -0000 Received: (qmail 98816 invoked from network); 11 Aug 2005 06:11:01 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 11 Aug 2005 06:10:57 -0000 Received: from candle.brasslantern.com ([71.116.79.190]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IL100JD0NU7LQ99@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 11 Aug 2005 01:10:56 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j7B6As64001984 for ; Wed, 10 Aug 2005 23:10:54 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j7B6As0C001983 for zsh-workers@sunsite.dk; Wed, 10 Aug 2005 23:10:54 -0700 Date: Thu, 11 Aug 2005 06:10:54 +0000 From: Bart Schaefer Subject: Re: Those array searching oddities again In-reply-to: <200507291157.j6TBv5Fx008185@news01.csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <1050811061054.ZM1982@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <200507291157.j6TBv5Fx008185@news01.csr.com> Comments: In reply to Peter Stephenson "Those array searching oddities again" (Jul 29, 12:57pm) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Jul 29, 12:57pm, Peter Stephenson wrote: } } I know that searching through arrays for matches gives odd but generally } consistent results --- the indices drop off the end in the direction you } are searching --- but surely the following is going one weirdness too } far? As a matter of fact, I discussed this in zsh-users/9074 about a month ago. } I'll wait for Bart to tell me what I've missed. Long wait, wasn't it? I was out of town, just got back. You didn't miss anything important, particularly with your second patch.