zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: PATCH: support for nanosecond timestamps
Date: Thu, 01 Nov 2007 17:37:53 +0000	[thread overview]
Message-ID: <23800.1193938673@thecus> (raw)
In-Reply-To: <20071101155035.GA27981@sc.homeunix.net>

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


  reply	other threads:[~2007-11-01 17:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 15:40 Oliver Kiddle
2007-11-01 15:50 ` Stephane Chazelas
2007-11-01 17:37   ` Oliver Kiddle [this message]
2007-11-01 18:28     ` Stephane Chazelas
2007-11-04 17:14     ` Peter Stephenson
2007-11-05 14:45       ` Oliver Kiddle
2007-11-05 15:26         ` Stephane Chazelas
2007-11-05 15:31         ` Peter Stephenson
2007-11-04 16:46 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23800.1193938673@thecus \
    --to=okiddle@yahoo.co.uk \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).