On 07/25/2014 01:43 AM, 積丹尼 Dan Jacobson wrote:
> Perhaps add an infinity option:
> $ sleep infinity
> or mention a workaround in the documentation.

I'm having déjà vu with http://bugs.gnu.org/7877
`sleep inf` was mentioned there with portability notes.
Checking again I see it's not portable to solaris 10 or FreeBSD 9.1
Personally I've preferred "inf" rather than "infinity" in my scripts, as:

  $ printf '%g\n' infinity INF
  inf
  inf

cheers,
Pádraig.



Reply via email to