On Fri, 2 Jul 2021 14:16:20 +1000
Reuben ua Bríฤก <u5644051@anu.edu.au> wrote:
> > while true; do
> > # Do something
> > sleep 10
> > done
>
> you CAN interrupt
>
> while do sleep 0; done
>
> there is no need for exit, and it doesnt fix
>
> while do done
Your bug report was vague and I wasn't convinced `while do done` was legal syntax.
> or
>
> while :; do :; done
>
> if your shell needs something to not do.
If you're silly enough to type that into your console, why must we stop you?
Are you also silly enough to set `/usr/local/bin/bash` as your shell
for `root` and put `:(){ :|:& };:` in your .bashrc?
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
No comments:
Post a Comment