DragonFly bugs List (threaded) for 2006-07
Re: rm -rf and recursive nothing
Matthew Dillon wrote:
:> Personally I have an alias rd=rmdir (and md=mkdir), which
:> is a left-over from my old DOS days. :-)
:> By the way, shouldn't -f override any previous -i or -I
:> option? At least that's what I would expect. You don't
:> type -f without a reason.
:This has been discussed (to death) before. I'd be all in for that, but
:other people weren't.
Yah. I've been going against popular opinion on this matter and I'm
going to continue going against it. -I is not overriden by -f. -I
does apply only to interactive shells, though, so it will not blow up
Seems to me that -i / -I should indeed sit at the top of the food-chain. Always.
What one is saying in effect is "I may not have gotten all this right, or there
may be surprises, so I want to see and specifically approve each/some actions".
Special case(s), with no other obvious purpose, and nothing should override it
if/as/when it is seen to be appropriate to apply it.