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