On 11/15/2017 12:30 PM, David Wright wrote:
I don't understand this. sleepenh is*not*  a replacement for usleep.
Gnu systems use*their*  sleep command which takes non-integer values.
As expected, sleep uses seconds, usleep uses microseconds (where
u is the usual replacement for ยต) and nanosleep uses nanoseconds
(but the last isn't a command, obviously). Perhaps someone didn't
realise that.

All I know about this is what Google finds for me. :)

karlin@lilyvideo:~$ usleep
-bash: usleep: command not found

karlin@lilyvideo:~$ sudo apt-get install usleep
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package usleep

karlin@lilyvideo:~$ sudo apt list | grep usleep

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

karlin@lilyvideo:~$

Debian finds nothing for this, unless I just don't know how to ask.

There IS a manpage for usleep, but it looks like it's for a C library feature, not an executable. It says #include <unistd.h>

I got the idea for sleepenh from these:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812184
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223455

So it would be better if I changed the mkvideo script from "usleep 250" to "sleep 0.25" instead of "sleepenh 0.25" ?
--
Karlin High
Missouri, USA

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to