From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 836 invoked from network); 20 Apr 2001 07:22:04 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Apr 2001 07:22:04 -0000 Received: (qmail 15183 invoked by alias); 20 Apr 2001 07:21:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14049 Received: (qmail 15113 invoked from network); 20 Apr 2001 07:21:44 -0000 From: "Bart Schaefer" Message-Id: <1010420030451.ZM17221@candle.brasslantern.com> Date: Fri, 20 Apr 2001 03:04:51 +0000 In-Reply-To: <20010419170014.B1824@Amber.lab.icm.edu.pl> Comments: In reply to Michal Politowski "Re: requests" (Apr 19, 5:00pm) References: <20010414202410.A10021@dman.com> <1010415032859.ZM27364@candle.brasslantern.com> <20010419170014.B1824@Amber.lab.icm.edu.pl> X-Mailer: Z-Mail (5.0.0 30July97) To: Michal Politowski , zsh-workers@sunsite.dk Subject: Re: requests MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 19, 5:00pm, Michal Politowski wrote: } Subject: Re: requests } } So, do I understand correctly that changing (r) to behave as I'd like } could be rather difficult for the expected benefits (especially as } there is the (q) workaround (at least for arrays at the moment))? Yes, you understand correctly. And I later discovered (in the course of fixing it) that the problem with $scalar[(r)${(q)pattern}] occurs only if $pattern ends with a `*'. } ${param#foo*$bar} treating the $bar differently than } ${param[(r)foo*$bar]} is rather surprising for the casual user If that's the only thing about zsh that surprises a casual user, we're in better shape than I thought. :-) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net