Y
Hacker News
new
|
ask
|
show
|
jobs
by
mcantrell
4685 days ago
Neat trick, but probably too limited to be of much use. Also, stopping it is kind of a nuisance.
1 comments
brokenparser
4685 days ago
Why? It only takes one ^C
link
kibibyte
4685 days ago
For 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.
link
Keyframe
4685 days ago
Indeed. It could use in front of while loop something like:
int_cmd(){exit 1;}trap 'int_cmd' 2;
link
brokenparser
4684 days ago
You get what you pay for.
link