Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: `time` doesn't say seconds



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