bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18103: sleep infinity


From: Pádraig Brady
Subject: bug#18103: sleep infinity
Date: Sat, 26 Jul 2014 21:32:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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

[Prev in Thread] Current Thread [Next in Thread]