5 ms·
Neat trick, but probably too limited to be of much use. Also, stopping it is kind of a nuisance.
by mcantrell 13y ago
Neat trick, but probably too limited to be of much use. Also, stopping it is kind of a nuisance.
- brokenparser 13y agoWhy? It only takes one ^C
- kibibyte 13y agoFor me, it doesn't even respond to ^C (or even ^\). I had to ^Z it, and then `kill %1`. Could be an OS-dependent thing. I'm using OS X.
- Keyframe 13y agoIndeed. It could use in front of while loop something like: int_cmd(){exit 1;}trap 'int_cmd' 2;
- brokenparser 13y agoYou get what you pay for.