From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29695 invoked from network); 29 Mar 2002 05:32:37 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Mar 2002 05:32:37 -0000 Received: (qmail 5432 invoked by alias); 29 Mar 2002 05:32:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16928 Received: (qmail 5421 invoked from network); 29 Mar 2002 05:32:29 -0000 Date: Thu, 28 Mar 2002 21:32:00 -0800 (PST) From: Wayne Davison X-X-Sender: To: Zsh Workers Subject: Re: PATCH: -W option for zmv (updated) In-Reply-To: <020328183805.ZM822@candle.brasslantern.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 28 Mar 2002, Bart Schaefer wrote: > repl="${(e)repl//${~find}/\$open\$[++N]\$close}" I confirmed with Bart that he had simplified his test case a little too far. This extra evaluation is not needed in zmv because the $find var is using (#m), and thus the substitution side is already getting evaluated multiple times (to support $MATCH). ..wayne..