From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8472 invoked from network); 23 Aug 1999 08:41:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 1999 08:41:13 -0000 Received: (qmail 5998 invoked by alias); 23 Aug 1999 08:40:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7462 Received: (qmail 5772 invoked from network); 23 Aug 1999 08:39:13 -0000 Subject: Re: Files modified after a given date In-Reply-To: from Bruce Stephens at "Aug 22, 1999 7:55:27 pm" To: zsh-workers@sunsite.auc.dk Date: Mon, 23 Aug 1999 09:38:10 +0100 (BST) X-Mailer: ELM [version 2.4ME+ PL48 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram Bruce Stephens wrote: >You could write a function using the stat module, but I don't think we >have user-defined glob patterns yet? That's one of the many things I never got round to. I was going to have patterns like "*(F:func:)" call the shell function "func" with the name of each file which otherwise matches the glob pattern, and use its return value to decide whether it matches or not. Should be quite easy to implement -- just a few lines. -zefram