On Fri, Jun 07, 2013 at 10:15:46PM +0800, jida...@jidanni.org wrote: > Well it is going to happen anyway, so maybe bash should check by > default, and not check if -o risky is set or something. It can't be that > expensive.
Yes it can. You're talking about adding a ridiculous amount of extra checking and performance penalty to try to avoid users shooting themselves in the foot *on Unix*. As far as I'm concerned, the correct solution is to educate the users instead. I don't speak for Chet, of course.