rm -rf and recursive nothing

W B Hacker wbh at conducive.org
Fri Jul 21 16:36:53 PDT 2006


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.
:
:Sascha

    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
    scripts.
					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>
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.

Bill Hacker





More information about the Bugs mailing list