From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10561 invoked from network); 1 Nov 2007 17:38:04 -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; 1 Nov 2007 17:38:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 32060 invoked from network); 1 Nov 2007 17:37:58 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Nov 2007 17:37:58 -0000 Received: (qmail 14112 invoked by alias); 1 Nov 2007 17:37:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24052 Received: (qmail 14092 invoked from network); 1 Nov 2007 17:37:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Nov 2007 17:37:51 -0000 Received: (qmail 31315 invoked from network); 1 Nov 2007 17:37:51 -0000 Received: from smtp007.mail.ukl.yahoo.com (217.12.11.96) by a.mx.sunsite.dk with SMTP; 1 Nov 2007 17:37:44 -0000 Received: (qmail 44978 invoked from network); 1 Nov 2007 17:37:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:Received:In-reply-to:From:References:To:Subject:Date:Message-ID; b=L4Nhx55fyIyIXJL566sF5Froh/sP/YVzoe7y32RLX5DHK5RbyGd56naxQjpPcG/7D8ED2wTAjNOaTAsCAelMbjB53GpTeOBSD4PN9qYY55bzJ7En35i0NjocJhgTroo2we0GrhT2FZVBi7PYxHcJvNkcb6hCedDGTygzl+Cu7yg= ; Received: from unknown (HELO thecus) (okiddle@89.48.31.178 with plain) by smtp007.mail.ukl.yahoo.com with SMTP; 1 Nov 2007 17:37:43 -0000 X-YMail-OSG: dO2uimIVM1nlHtaxOteSoyI4wK3s54Kcu9gHmV9L.cipuHMUVYMNOGGJWTLLFvF_aDGtbPAKCQ-- Received: from opk (helo=thecus) by thecus with local-esmtp (Exim 4.63) (envelope-from ) id 1IndzN-0006Bt-IU for zsh-workers@sunsite.dk; Thu, 01 Nov 2007 17:37:53 +0000 In-reply-to: <20071101155035.GA27981@sc.homeunix.net> From: Oliver Kiddle References: <22003.1193931601@dcle12> <20071101155035.GA27981@sc.homeunix.net> To: Zsh workers Subject: Re: PATCH: support for nanosecond timestamps Date: Thu, 01 Nov 2007 17:37:53 +0000 Message-ID: <23800.1193938673@thecus> Stephane Chazelas wrote: > What about returning floating point numbers for zstat? I've just looked at the documentation for stat to see how that might work. It'd end up returning the string representation rather than a float given the current interface. What exactly were you envisaging? It might be more useful to have it available with the -F (format) option. The only trouble there is that there is no standard for the letters to use in the format specifiers. date(1) on Linux has %N for nanoseconds. Apache uses %q and %Q for milli and micro seconds. Do you know of any others? Oliver