From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26496 invoked from network); 13 Aug 2004 17:03:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Aug 2004 17:03:26 -0000 Received: (qmail 71684 invoked from network); 13 Aug 2004 17:03:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 17:03:20 -0000 Received: (qmail 22404 invoked by alias); 13 Aug 2004 17:02:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7834 Received: (qmail 22394 invoked from network); 13 Aug 2004 17:02:34 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 13 Aug 2004 17:02:34 -0000 Received: (qmail 70028 invoked from network); 13 Aug 2004 17:01:08 -0000 Received: from unknown (HELO moonbase.zanshin.com) (167.160.213.139) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 17:01:05 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i7DH13J1028703 for ; Fri, 13 Aug 2004 10:01:03 -0700 Date: Fri, 13 Aug 2004 10:01:03 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: Zsh users list Subject: Re: Zsh 4.2.1 In-Reply-To: <200408131111.i7DBBBX5012667@news01.csr.com> Message-ID: References: <200408131111.i7DBBBX5012667@news01.csr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On Fri, 13 Aug 2004, Peter Stephenson wrote: > [Hmm, are you allowed to say `more seamlessly'? Shouldn't it be > something like `more closely resembling an object conceived of > metaphorically as lacking in seams'?] You really mean "more nearly seamlessly", because if it were already seamless it couldn't get any more so. > Changes since zsh version 4.2.0 > ------------------------------- > > - Assignments to associative arrays can use the i and r index flags. It just occurred to me to hope that somewhere it's pointed out that if more than one element matches the pattern, the one that gets replaced is chosen effectively at random. That's one of the reasons I didn't include this capability when I originally wrote the associative array code. Which means that after assoc[(i)alpha*]=bravo it may be the case that print $assoc[(i)alpha*] does not output "bravo", but print $assoc[(I)alpha*] may print several things including "bravo".