Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: support for nanosecond timestamps
- X-seq: zsh-workers 24052
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: support for nanosecond timestamps
- Date: Thu, 01 Nov 2007 17:37:53 +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= ;
- In-reply-to: <20071101155035.GA27981@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <22003.1193931601@dcle12> <20071101155035.GA27981@xxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author