Andrei Borzenkov wrote:
On Mon, May 15, 2023 at 12:23 PM Per Jessen <per@opensuse.org> wrote:
GNU sleep supports fractional intervals so "usleep 1" == "sleep 0.000001".
Heh, it does indeed! Pity it doesn't accept the suffixes ms and us too. I guess the fractions work mostly by coincidence? There is no mention in the man page.
Code to parse floating point numbers can hardly appear by coincidence
True, that is unlikely.
and it is documented in the info page (which is the primary documentation for GNU software). I agree that additional suffixes would be useful.
I guess it is relatively new - on my 15.3 system, the info page and the info pages are the same, dated 2001 - of course, it isn't GNU usleep, it is SUSE usleep :-) As for info pages - I have been able to "migrate" to those. -- Per Jessen, Zürich (12.4°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes