From: "Mark J. Reed" <markjreed@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Peter Stephenson <p.w.stephenson@ntlworld.com>,
Ram Rachum <ram@rachum.com>,
zsh-workers@zsh.org
Subject: Re: `time` doesn't say seconds
Date: Wed, 22 Nov 2023 15:23:19 -0500 [thread overview]
Message-ID: <CAA=-s3waEyGVjKa2GrVPDujDqY0yPeS2zP20H+vTdx-QiV+B0w@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7bNoi8WwN8X8MzApce99UkOhATSRmTfxkmnHh+3APh6AA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
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?
On Tue, Nov 21, 2023 at 10:36 PM Bart Schaefer <schaefer@brasslantern.com>
wrote:
> On Tue, Nov 21, 2023 at 1:25 AM Peter Stephenson
> <p.w.stephenson@ntlworld.com> wrote:
> >
> > I don't know if anyone is likely to be automatically matching the
> > current format? Given the variability of this element presumably not.
>
> The doc should be updated, though. It specifies the default without
> the "s". Your patch also alters the definition of %*E in the value of
> TIMEFMT.
>
>
--
Mark J. Reed <markjreed@gmail.com>
[-- Attachment #2: Type: text/html, Size: 1367 bytes --]
next prev parent reply other threads:[~2023-11-22 20:24 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 [this message]
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='CAA=-s3waEyGVjKa2GrVPDujDqY0yPeS2zP20H+vTdx-QiV+B0w@mail.gmail.com' \
--to=markjreed@gmail.com \
--cc=p.w.stephenson@ntlworld.com \
--cc=ram@rachum.com \
--cc=schaefer@brasslantern.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).