From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24678 invoked from network); 5 Jun 1999 08:32:08 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jun 1999 08:32:08 -0000 Received: (qmail 21704 invoked by alias); 5 Jun 1999 08:32:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6472 Received: (qmail 21675 invoked from network); 5 Jun 1999 08:31:59 -0000 From: "Bart Schaefer" Message-Id: <990605083154.ZM6305@candle.brasslantern.com> Date: Sat, 5 Jun 1999 08:31:54 +0000 In-Reply-To: <199906040948.LAA03209@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: MAIL, MAILPATH and maildir support" (Jun 4, 11:48am) References: <199906040948.LAA03209@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: PATCH: Document that a,c,m glob qualifiers can handle time in seconds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 4, 11:48am, Sven Wischnowsky wrote: } Subject: Re: MAIL, MAILPATH and maildir support } } > --- maybe (ms???) should work too, but it doesn't at the moment); } } Now that's a weird omission. Why didn't I... (computers were slower at } that time, but...) Here's documentation for that change. Index: Doc/Zsh/expn.yo =================================================================== @@ -1380,21 +1380,21 @@ item(tt(g)var(id))( like tt(u)var(id) but with group IDs or names ) -item(tt(a)[tt(Mwhm)][tt(-)|tt(PLUS())]var(n))( -files accessed exactly var(n) days ago. Files accessed within the -last var(n) days are selected using a negative value for var(n) -(tt(-)var(n)). Files accessed more than var(n) days ago are selected by a -positive var(n) value (tt(PLUS())var(n)). Optional unit specifiers `tt(M)', -`tt(w)', `tt(h)' or `tt(m)' (e.g. `tt(ah5)') cause the check to be -performed with months (of 30 days), weeks, hours, or minutes instead of -days, respectively. For instance, `tt(echo *(ah-5))' would echo files -accessed within the last five hours. +item(tt(a)[tt(Mwhms)][tt(-)|tt(PLUS())]var(n))( +files accessed exactly var(n) days ago. Files accessed within the last +var(n) days are selected using a negative value for var(n) (tt(-)var(n)). +Files accessed more than var(n) days ago are selected by a positive var(n) +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. ) -item(tt(m)[tt(Mwhm)][tt(-)|tt(PLUS())]var(n))( +item(tt(m)[tt(Mwhms)][tt(-)|tt(PLUS())]var(n))( like the file access qualifier, except that it uses the file modification time. ) -item(tt(c)[tt(Mwhm)][tt(-)|tt(PLUS())]var(n))( +item(tt(c)[tt(Mwhms)][tt(-)|tt(PLUS())]var(n))( like the file access qualifier, except that it uses the file inode change time. ) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com