From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20770 invoked from network); 1 Nov 2007 15:51:16 -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.5 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; 1 Nov 2007 15:51:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 72949 invoked from network); 1 Nov 2007 15:51:10 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Nov 2007 15:51:10 -0000 Received: (qmail 20714 invoked by alias); 1 Nov 2007 15:51:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24051 Received: (qmail 20643 invoked from network); 1 Nov 2007 15:51:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Nov 2007 15:51:03 -0000 Received: (qmail 72514 invoked from network); 1 Nov 2007 15:51:03 -0000 Received: from smtpout0131.sc1.he.tucows.com (HELO n082.sc1.he.tucows.com) (64.97.136.131) by a.mx.sunsite.dk with SMTP; 1 Nov 2007 15:50:57 -0000 Received: from sc.homeunix.net (82.26.162.94) by n082.sc1.he.tucows.com (7.2.069.1) id 47030A3E002462F4; Thu, 1 Nov 2007 15:50:36 +0000 Received: from chazelas by sc.homeunix.net with local (Exim 4.68) (envelope-from ) id 1IncJX-0007My-7e; Thu, 01 Nov 2007 15:50:35 +0000 Date: Thu, 1 Nov 2007 15:50:35 +0000 From: Stephane Chazelas To: Oliver Kiddle Cc: Zsh workers Subject: Re: PATCH: support for nanosecond timestamps Message-ID: <20071101155035.GA27981@sc.homeunix.net> Mail-Followup-To: Oliver Kiddle , Zsh workers References: <22003.1193931601@dcle12> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <22003.1193931601@dcle12> User-Agent: Mutt/1.5.16 (2007-09-19) On Thu, Nov 01, 2007 at 04:40:01PM +0100, Oliver Kiddle wrote: > The following patch adds support in zsh for high resolution timestamps > on systems that support them. This affects the following: > -N (file unread) conditional flag > -ot (older than) and -nt (newer than) conditional flags > o/O (ordered) glob qualifiers with a/m/c sort specifiers (including > with - glob qualifier to act on symlinks) Thanks Oliver, that's very helpful. > Does anyone know of any other features that could make use of this? I > have grepped for mtime/atime in the source and the other references are > for checking for history/utmp/mail file updates and the stat module. [...] What about returning floating point numbers for zstat? Then maybe we'd need the ability to make EPOCHSECONDS a float as well (using gettimeofday()) Cheers, stéphane