From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28342 invoked from network); 13 Dec 2007 19:52:15 -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 19:52:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 85565 invoked from network); 13 Dec 2007 19:52:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2007 19:52:05 -0000 Received: (qmail 2627 invoked by alias); 13 Dec 2007 19:52:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24233 Received: (qmail 2600 invoked from network); 13 Dec 2007 19:51:59 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Dec 2007 19:51:59 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 343BC8058F55 for ; Thu, 13 Dec 2007 20:49:15 +0100 (CET) Received: from prunille.vinc17.org (vinc17.pck.nerim.net [213.41.242.187]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 13 Dec 2007 20:49:15 +0100 (CET) Received: by prunille.vinc17.org (Postfix, from userid 501) id 144811C6F035; Thu, 13 Dec 2007 20:51:56 +0100 (CET) Date: Thu, 13 Dec 2007 20:51:55 +0100 From: Vincent Lefevre To: zsh-workers@sunsite.dk Subject: time glob qualifiers Message-ID: <20071213195155.GO28728@prunille.vinc17.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.17-vl-r19795 (2007-12-11) X-Virus-Scanned: ClamAV using ClamSMTP The zshexpn(1) says: a[Mwhms][-|+]n files accessed exactly n days ago. Files accessed within the last n days are selected using a negative value for n (-n). Files accessed more than n days ago are selected by a positive n value (+n). Optional unit specifiers `M', `w', `h', `m' or `s' (e.g. `ah5') cause the check to be performed with months (of 30 days), weeks, hours, minutes or seconds instead of days, respec- tively. For instance, `echo *(ah-5)' would echo files accessed within the last five hours. This isn't clear, and the only example is the one for which there is no ambiguity. The man page should say that the fractional part is discarded, and should give an example for a+1 for instance. The find(1) man page from the findutils is more explicit: -atime n File was last accessed n*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored, so to match -atime +1, a file has to have been accessed at least two days ago. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)