From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27823 invoked from network); 26 Aug 1999 12:16:39 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Aug 1999 12:16:39 -0000 Received: (qmail 10697 invoked by alias); 26 Aug 1999 12:16:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7499 Received: (qmail 10690 invoked from network); 26 Aug 1999 12:16:32 -0000 Date: Thu, 26 Aug 1999 14:16:28 +0200 (MET DST) Message-Id: <199908261216.OAA15897@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Zefram's message of Thu, 26 Aug 1999 13:05:47 +0100 (BST) Subject: Re: PATCH: Re: Files modified after a given date Zefram wrote: > Sven Wischnowsky wrote: > > Before the string is executed, expansion is performed on it > >+with the parameter tt($_) being set to the filename currently being > >+tested. > > Wouldn't it be easier to use if the string were simply evaluated with $_ > appropriately set, without this extra layer of expansion? ;-) I first tried to implement it that way, but then... No, we can't do it that way because as soon as something is executed $_ gets set from exec.c to the last command word, as usual. And then it's too late to get at the filname. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de