Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Files modified after a given date
- X-seq: zsh-workers 7499
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Files modified after a given date
- Date: Thu, 26 Aug 1999 14:16:28 +0200 (MET DST)
- In-reply-to: Zefram's message of Thu, 26 Aug 1999 13:05:47 +0100 (BST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author