On 2023-05-15 11:23, Per Jessen wrote:
Andrei Borzenkov wrote:
On Mon, May 15, 2023 at 11:12 AM Per Jessen <per@opensuse.org> wrote:
On my leap155 box, I don't have any 'pidof'. It seems to be part of sysvinit-tools. Looking at the contents of that, at least pidof and usleep seem to be quite useful - I wonder if they ought to be moved to some other package.
pidof is provided by procps on Tumbleweed, Leap is explicitly built to exclude pidof from procps.
Interesting, I wonder why.
Maybe because sysvinit-tools had it. It would be a bug, now procps should have it now.
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.
Can it be a bash internal? Mmm, no, not listed in man bashbuiltins.
I have to say, it would never have occurred to me to even try that. Anyway, thanks, I think it'll be one of those I actually remember!
I think I noticed it recently. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)