Re: How do get elapsed time in milliseconds in a shell script?
Date: Mon, 18 Jul 2022 13:45:22 UTC
On Tue, Jul 12, 2022 at 03:09 Frank Leonhardt <freebsd-doc@fjl.co.uk> wrote: > I thought this would be easy, but it's not! > > I can get the time since the epoch to the nearest second (date +%s), but > nothing more accurate. This was probably good enough in the 1970s but I > think it's reasonable to want a better resolution even in a shell script. I’m a wannabe FreeBSD user lurking here. Can you tell us more about your use case? (Spoiler alert: I’m a long time Unix/Linux user who now relies mostly on Raku for other than very simple bash scripts.) Best regards, -Tom