From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3627 invoked from network); 11 Jul 2005 12:17:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Jul 2005 12:17:17 -0000 Received: (qmail 89470 invoked from network); 11 Jul 2005 12:17:10 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Jul 2005 12:17:09 -0000 Received: (qmail 11230 invoked by alias); 11 Jul 2005 12:17:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21429 Received: (qmail 11221 invoked from network); 11 Jul 2005 12:17:07 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Jul 2005 12:17:07 -0000 Received: (qmail 89232 invoked from network); 11 Jul 2005 12:17:07 -0000 Received: from dixsept.loria.fr (152.81.9.195) by a.mx.sunsite.dk with SMTP; 11 Jul 2005 12:17:02 -0000 Received: from vlefevre by dixsept.loria.fr with local (Exim 4.52) id 1DrxDY-0004EI-31; Mon, 11 Jul 2005 14:17:00 +0200 Date: Mon, 11 Jul 2005 14:17:00 +0200 From: Vincent Lefevre To: zsh-workers@sunsite.dk, 185228-forwarded@bugs.debian.org Subject: Re: [vincent@vinc17.org: Bug#185228: zsh: Incorrect filename generation with glob qualifier mh+] Message-ID: <20050711121700.GA16217@dixsept.loria.fr> Mail-Followup-To: Vincent Lefevre , zsh-workers@sunsite.dk, 185228-forwarded@bugs.debian.org References: <20030318031615.GG29480@acolyte.scowler.net> <1030318162510.ZM28121@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1030318162510.ZM28121@candle.brasslantern.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.9-vl-20050705i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On 2003-03-18 16:25:10 +0000, Bart Schaefer wrote: > On Mar 17, 10:16pm, Clint Adams wrote: > } Subject: [vincent@vinc17.org: Bug#185228: zsh: Incorrect filename generati > } > } ----- Forwarded message from Vincent Lefevre ----- > } > } Using the glob qualifier mh+n selects files modified more than > } n+1 hours instead of more than n hours ago. > } > } If this is a feature to make a partition with mh-n, mhn and mh+n, > } then the wording in the manual should be changed > > Unless I'm mistaken, this is all for compatibility with the way that > "find" defines +n, -n and n. If you ask me, it's always silly to > define any meaning for "exactly ago"; it always > means "during the that began before > the current began" (but then for any significantly large > unit you can get into arguments about what "began" means). But zsh > did not invent the nomenclature. BTW, could zsh define n, that would have the intuitive meaning? e.g. echo *(ah>5) would display the files accessed more that 5 hours (= 18000 seconds) ago. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA