On Dec 17, 2011, at 1:32 PM, Josh Dersch wrote:
In that case
of rm, the "training wheels on" mode is already available, just
use "rm -i".
Even if it is slightly more work, think of the
tradeoff
that's being made: you're saving every Unix user the pain of
accidentally screwing themselves via a typo -- and just as evidenced
by responses on this list, *everyone* (well, mostly everyone) has
managed to do this at least once or knows someone who has.
Live and learn. And
pain is a very powerful mnemonic fixative ;-)
I don't think it works that way. Honestly, this is the attitude I'm talking
about that I think needs correction -- the attitude that "real" Unix users never
make mistakes and if they do, they *deserve* it. It's computer-based Stockholm
Syndrome as far as I'm concerned...
I don't think the idea is that "real Unix users never make mistakes",
it's that they learn from their mistakes. I've certainly burned and/or cut myself
pretty badly in the kitchen with hot objects and very sharp knives that I've learned
to be more careful. So far I haven't lost any fingers. In Unix, the knives are out
and they're sharp enough that you won't notice you've cut off your files until
they're gone.
- Dave