[nycbug-talk] Safety Expansion for FreeBSD rm(1)

Jesse Callaway bonsaime at gmail.com
Mon Oct 1 23:17:22 EDT 2007


 > Th .kshrc file that follows me from machine to machine checks to see if
> vim is installed, and if it is, uses it.
>
> The reason I use vim is because it works just like vi but at the same time
> has features and shortcuts that make what I want to do easier and quicker
> to acomplish.
>
> Having a rm that first checks to make sure what you are doing is really what
> you want to do is kinda the same principle as using vim. Allow me to
> accomplish what I am think i wanted to do quicker and faster. (In case this,
> its quicker because I don't have to restore /bin)
>
> Like I said, it is an interesting patch to rm that I can see being
> extremenly useful in situations, but at the same time, it seems like
> it is breaking some unwritten unix law
>
> --
> Steven Kreuzer
> http://www.exit2shell.com/~skreuzer

you know, since I was the first to bite... I'll have to say that I'm
the first to regret what I said. Afterthought is always good. Changing
your mind is better.

This is a good patch. Why not check ~/.rm? What's the harm? I was
wrong. It won't break any scripts at all. It just makes the system
more useable and in a friendly way. This is an improvement. And
furthermore, it won't slow down anything if implemented in a halfway
decent manner.

Anyone care to join the dark side? I guess I'm on the fence about this
as well... it seems, but I'm currently comfortable to one side.

-jesse



More information about the talk mailing list