sleep builtin

2020-04-06 Thread Noctambule
Hey ! I have a question about sleep builtin. I'm writing a script and at the end, I want it to simply wait for SIGINT (from user) or signals with kill builtin. What is the maximum number of seconds that can be used with sleep ? I was thinking about adding the following "trick" : while true;

Re: sleep builtin

2020-04-06 Thread Thorsten Glaser
Salve Noctambule, >I have a question about sleep builtin. I'm writing a script and at the >end, I want it to simply wait for SIGINT (from user) or signals with >kill builtin. The normal way to terminate sleep is SIGALRM though, but SIGINT will most likely also work (try it out). >What is the