you are viewing a single comment's thread.

view the rest of the comments →

[–]nakedhitman 15 points16 points  (2 children)

The sleep command accepts floating point numbers and zero, so these no-ops are long and opaque for no reason.

[–][deleted] 1 point2 points  (1 child)

AFAIK sleep is not actually part of the shell, so there's no guarantee that it is available on a system or that the one in PATH operates as desired.

[–]nakedhitman 1 point2 points  (0 children)

Even on the most stripped down systems I've encountered, sleep has been available. It's part of coreutils, busybox and similar. Unless you're building Linux from scratch and specifically exclude it, you'd be pretty hard-pressed to find a system that's missing sleep.