DragonFly BSD
DragonFly bugs List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rm -rf and recursive nothing

From: W B Hacker <wbh@xxxxxxxxxxxxx>
Date: Sat, 22 Jul 2006 07:36:53 +0800

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

Matthew Dillon <dillon@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

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]