From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6022 invoked from network); 13 Dec 2007 21:48:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Dec 2007 21:48:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3985 invoked from network); 13 Dec 2007 21:48:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2007 21:48:46 -0000 Received: (qmail 7810 invoked by alias); 13 Dec 2007 21:48:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24241 Received: (qmail 7785 invoked from network); 13 Dec 2007 21:48:43 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Dec 2007 21:48:43 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 337958058F54 for ; Thu, 13 Dec 2007 22:45:59 +0100 (CET) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 13 Dec 2007 22:45:59 +0100 (CET) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20071213214910.OGZK13570.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Thu, 13 Dec 2007 21:49:10 +0000 Received: from pws-pc ([82.6.96.116]) by aamtaout03-winn.ispmail.ntl.com with SMTP id <20071213214951.YJLZ26699.aamtaout03-winn.ispmail.ntl.com@pws-pc> for ; Thu, 13 Dec 2007 21:49:51 +0000 Date: Thu, 13 Dec 2007 21:46:56 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: time glob qualifiers Message-Id: <20071213214656.b329c397.p.w.stephenson@ntlworld.com> In-Reply-To: <20071213195155.GO28728@prunille.vinc17.org> References: <20071213195155.GO28728@prunille.vinc17.org> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Phew. Index: Doc/Zsh/expn.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v retrieving revision 1.84 diff -u -r1.84 expn.yo --- Doc/Zsh/expn.yo 13 Dec 2007 20:52:56 -0000 1.84 +++ Doc/Zsh/expn.yo 13 Dec 2007 21:47:47 -0000 @@ -2076,8 +2076,14 @@ value (tt(PLUS())var(n)). Optional unit specifiers `tt(M)', `tt(w)', `tt(h)', `tt(m)' or `tt(s)' (e.g. `tt(ah5)') cause the check to be performed with months (of 30 days), weeks, hours, minutes or seconds -instead of days, respectively. For instance, `tt(echo *(ah-5))' would -echo files accessed within the last five hours. +instead of days, respectively. + +Any fractional part of the difference between the access time and the +current part in the appropriate units is ignored in the comparison. For +instance, `tt(echo *(ah-5))' would echo files accessed within the last +five hours, while `tt(echo *(ah+5))' would echo files accessed at least +six hours ago, as times strictly between five and six hours are treated +as five hours. ) item(tt(m)[tt(Mwhms)][tt(-)|tt(PLUS())]var(n))( like the file access qualifier, except that it uses the file modification -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/