Hello
Just looking at this man page. I appreciate not the latest version. GNU 
coreutils 8.32    

https://man7.org/linux/man-pages/man1/timeout.1.html

Could it be clarified that a timeout DURATION of 0 also specifically inhibits 
the   -k, --kill-after=DURATION  ?
it's implied as "this long after the initial signal was sent", so I'm 
suggesting to make it clearer.

ie
$ time timeout -k 2 0 sleep 3

real    0m3.005s
user    0m0.004s
sys     0m0.000s



Maybe it could be updated:

-k, --kill-after=DURATION

also send a KILL signal if COMMAND is still running
this long after the initial signal was sent. This
never occurs if the initial signal was inhibited by a
duration of 0


Cheers, Jonny



Reply via email to