Lior Silberman <[EMAIL PROTECTED]> writes: | > Under unix-like OS, the * is expanded by the shell, not by the rm command, | > so the rm command never sees the *. You'd have to hack the shell, not the | > rm command, and the question becomes, how do you do that consistently? Do | > you specialcase for a command rm with one of the arguments being * ? | | You should alias rm to be 'rm -i'. This is possible on almost all shells. And this can be equally dangerous. If you assume that "rm" really is "rm -i" and to a "rm *" to select the files that should be deleted... (and this has happend in realy life one of the reasons I really abhore "rm -i") Lgb
- Re: file recovery and format Garst R. Reese
- Re: file recovery and format Eric J. Schwertfeger
- Re: file recovery and format Lior Silberman
- Re: file recovery and format John Weiss
- Re: file recovery and format Garst R. Reese
- Re: file recovery and format Lars Gullik Bjønnes
- Re: file recovery and forma... Garst R. Reese
- Re: file recovery and forma... hawk
- Re: file recovery and forma... hawk
- Re: file recovery and forma... Lars Gullik Bjønnes
- Re: file recovery and format Lars Gullik Bjønnes
- Re: file recovery and format Kayvan A. Sylvan
- color settings in preferences Kornel Benko
- Re: color settings in prefe... Angus Leeming
- Re: color settings in prefe... Jean-Marc Lasgouttes
- Re: color settings in prefe... Angus Leeming
- Re: color settings in prefe... Lars Gullik Bjønnes
- Re: color settings in prefe... Angus Leeming
- Re: color settings in prefe... Angus Leeming
- Re: color settings in prefe... Lars Gullik Bjønnes
- Re: color settings in prefe... Kornel Benko