Re: The vi editor causes brain damage

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marc Perkel <mperkel@...>
Cc: Jiri Slaby <jirislaby@...>, <linux-kernel@...>
Date: Sunday, August 19, 2007 - 9:33 am

On Sun, Aug 19, 2007 at 06:22:37AM -0700, Marc Perkel wrote:

The important point you are missing is that it is not the rm command
which is broken. Either it's *all* commands or it's *your* way of
thinking how they should work.

I could play your game and say the "type" command is broken under
DOS. Why can't I do "type *" under DOS while I can do "cat *" under
linux ? For the exact same reason : the "*" is not processed at
the same place. Unix initially chose to process it in the caller,
and DOS later chose to process it in the callee. Neither is right,
neither is wrong, those are just two different approaches which may
be justified in their context. Having discovered DOS at 1.25 which
did not even support directories, I certainly can say that missing
globbing was not a problem at this time!


It has nothing to do with programming standards, the rm command works
exactly like all others. Touch does the same, mv does the same, etc...
Educate yourself before stating idiocies like this !


$ rm -rf $DIR will remove an unlimited number of files in this directory.

If you want to make a special case of "rm", then implement the special
case in the command and make it possible to pass it a globbing expression
just like you can do with find. But this will be useless.


Oh yes, they are surely laughing at you, but at the same time they may
feel sad to be defended by people puting such stupid statements in public.


Yes, I really think you're the only one who has this problem. Don't you
think that among those tens of millions of users, none of them has ever
had to remove a directory full of files in 20 years ? Please stop taking
yourself for the center of the world and buy a "unix for newbies" book
instead of complaining the world is not like you would like it to be.

Willy

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 1:20 am)
Re: The vi editor causes brain damage, , (Sun Aug 19, 4:14 pm)
Re: The vi editor causes brain damage, Jiri Slaby, (Sun Aug 19, 3:15 am)
Re: The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 9:08 am)
[OT] Re: The vi editor causes brain damage, Willy Tarreau, (Sun Aug 19, 3:21 am)
Re: [OT] Re: The vi editor causes brain damage, Torsten Duwe, (Sun Aug 19, 9:55 am)
Re: The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 9:22 am)
Re: The vi editor causes brain damage, Michael Tharp, (Sun Aug 19, 7:03 pm)
Re: The vi editor causes brain damage, Casey Dahlin, (Sun Aug 19, 9:55 pm)
Re: The vi editor causes brain damage, Arjan van de Ven, (Sun Aug 19, 1:32 pm)
Re: The vi editor causes brain damage, Paolo Ornati, (Sun Aug 19, 10:48 am)
Re: The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 11:32 am)
Re: Re: The vi editor causes brain damage, Jose Celestino, (Sun Aug 19, 10:06 am)
Re: The vi editor causes brain damage, Willy Tarreau, (Sun Aug 19, 9:33 am)
Re: The vi editor causes brain damage, Al Viro, (Sun Aug 19, 2:15 am)
Re: The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 2:29 am)
Re: The vi editor causes brain damage, , (Sun Aug 19, 12:24 am)
Re: The vi editor causes brain damage, Marc Perkel, (Sun Aug 19, 9:07 am)