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 -
| Greg Kroah-Hartman | [PATCH 012/196] nozomi driver |
| Ingo Molnar | Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 |
| Rafael J. Wysocki | [PATCH -mm 5/6] Freezer: Remove PF_NOFREEZE from bluetooth threads |
| Ingo Molnar | Re: [PATCH 00/23] per device dirty throttling -v8 |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Natalie Protasevich | [BUG] New Kernel Bugs |
