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

Re: `time` doesn't say seconds



On Fri, Nov 10, 2023 at 5:25 AM Ram Rachum <ram@xxxxxxxxxx> 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.




Messages sorted by: Reverse Date, Date, Thread, Author