⬅︎ Back to Run something forever in bash until you want to stop it
What's the advantage of the control_c() function over just letting control C do what it does regularly? Won't it still have the possibility that it "might kill the command at a precious time"?
Isn't it to be able to do that last on-exit message about how many iterations it managed to do?
Comment
What's the advantage of the control_c() function over just letting control C do what it does regularly? Won't it still have the possibility that it "might kill the command at a precious time"?
Replies
Isn't it to be able to do that last on-exit message about how many iterations it managed to do?