Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `time` doesn't say seconds
- X-seq: zsh-workers 52323
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Mark J. Reed" <markjreed@xxxxxxxxx>
- Cc: Ram Rachum <ram@xxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: `time` doesn't say seconds
- Date: Wed, 22 Nov 2023 14:40:48 -0800
- Archived-at: <https://zsh.org/workers/52323>
- In-reply-to: <CAA=-s3waEyGVjKa2GrVPDujDqY0yPeS2zP20H+vTdx-QiV+B0w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CANXboVbrpq8=YTxzvGCiLoPTVyPqFe3OBe0unRKdV1+H8x0nqw@mail.gmail.com> <CAH+w=7YvLy1Tz7C2Dns8Zk2dwjZb-co4QBnvnMBhQvCjNrJmMw@mail.gmail.com> <9658AE7C-58D0-43C7-89E2-F03090EECB06@ntlworld.com> <CAH+w=7bNoi8WwN8X8MzApce99UkOhATSRmTfxkmnHh+3APh6AA@mail.gmail.com> <CAA=-s3waEyGVjKa2GrVPDujDqY0yPeS2zP20H+vTdx-QiV+B0w@mail.gmail.com>
On Wed, Nov 22, 2023 at 12:23 PM Mark J. Reed <markjreed@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author