From: Bart Schaefer <schaefer@brasslantern.com>
To: "Mark J. Reed" <markjreed@gmail.com>
Cc: Ram Rachum <ram@rachum.com>, zsh-workers@zsh.org
Subject: Re: `time` doesn't say seconds
Date: Wed, 22 Nov 2023 14:40:48 -0800 [thread overview]
Message-ID: <CAH+w=7bu9K+KFH7aqYSAHa8FKa2+SoCkW9oChs0oi6QtMvZBqA@mail.gmail.com> (raw)
In-Reply-To: <CAA=-s3waEyGVjKa2GrVPDujDqY0yPeS2zP20H+vTdx-QiV+B0w@mail.gmail.com>
On Wed, Nov 22, 2023 at 12:23 PM Mark J. Reed <markjreed@gmail.com> wrote:
>
> Sorry if I'm missing some vital context (I here am new), but if the goal is to include the "s" units in the default output of time, that's just a matter of changing `%*E` to `%E` in the default value of TIMEFMT, right?
%E is always in seconds, so something that ran for an hour-ish would
say something like 3612.03s instead of e.g. 01:00:12.0297 for %*E
prev parent reply other threads:[~2023-11-22 22:41 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
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 [this message]
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=7bu9K+KFH7aqYSAHa8FKa2+SoCkW9oChs0oi6QtMvZBqA@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=markjreed@gmail.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).