[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18103: sleep infinity
From: |
Bernhard Voelker |
Subject: |
bug#18103: sleep infinity |
Date: |
Fri, 25 Jul 2014 09:28:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 07/25/2014 02:43 AM, 積丹尼 Dan Jacobson wrote:
Perhaps add an infinity option:
$ sleep infinity
or mention a workaround in the documentation.
Thanks for the proposal.
However, while the theoretical need may be there, I don't
see a practical use case here.
The internal data type is already a 'double', so it's
more than big enough. You could e.g. use
$ sleep 10000d
which is ...
$ bc <<<"10000 / 365"
27
... 27 years; and nothing prevents you from choosing
_much_ larger numbers - although I doubt you'll really
want to wait that long.
Can you give an example where you'd need a "sleep forever"?
Have a nice day,
Berny
- bug#18103: sleep infinity, 積丹尼 Dan Jacobson, 2014/07/25
- bug#18103: sleep infinity,
Bernhard Voelker <=
- bug#18103: sleep infinity, Paul Eggert, 2014/07/25
- bug#18103: sleep infinity, 積丹尼 Dan Jacobson, 2014/07/26
- bug#18103: sleep infinity, 積丹尼 Dan Jacobson, 2014/07/26
- bug#18103: sleep infinity, 積丹尼 Dan Jacobson, 2014/07/26
- bug#18103: sleep infinity, Pádraig Brady, 2014/07/26
- bug#18103: sleep infinity, 積丹尼 Dan Jacobson, 2014/07/30