zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ram Rachum <ram@rachum.com>
Cc: zsh-workers@zsh.org
Subject: Re: `time` doesn't say seconds
Date: Fri, 10 Nov 2023 09:26:10 -0800	[thread overview]
Message-ID: <CAH+w=7YvLy1Tz7C2Dns8Zk2dwjZb-co4QBnvnMBhQvCjNrJmMw@mail.gmail.com> (raw)
In-Reply-To: <CANXboVbrpq8=YTxzvGCiLoPTVyPqFe3OBe0unRKdV1+H8x0nqw@mail.gmail.com>

On Fri, Nov 10, 2023 at 5:25 AM Ram Rachum <ram@rachum.com> wrote:
>
> If I understand correctly, the 11.230 number is 11.230 seconds, but for some reason it doesn't have "s" after it like 11.41s and 0.90s. I think that it should.

TIMEFMT='%J %U user %S system %P cpu %E total'

The default format instead uses %*E which drops the trailing "s" and
uses HH:MM:SS.TTT instead, but the HH and MM are also dropped when
zero.


  reply	other threads:[~2023-11-10 17:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 13:24 Ram Rachum
2023-11-10 17:26 ` Bart Schaefer [this message]
2023-11-10 17:28   ` Ram Rachum
2023-11-10 17:31     ` Bart Schaefer
2023-11-21  9:25   ` Peter Stephenson
2023-11-22  3:36     ` Bart Schaefer
2023-11-22 11:15       ` Peter Stephenson
2023-11-22 20:23       ` Mark J. Reed
2023-11-22 22:40         ` Bart Schaefer

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='CAH+w=7YvLy1Tz7C2Dns8Zk2dwjZb-co4QBnvnMBhQvCjNrJmMw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=ram@rachum.com \
    --cc=zsh-workers@zsh.org \
    /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).