On Fri, Jul 22, 2005 at 11:13:08AM +1200, Michael JasonSmith wrote:
>       alias rm="trash.sh"

that is a very bad idea.

you will get used to rm behaving this way and then one day you sit on
someone elses machine or for some reason the setup is gone or whatever,
and rm is behaving as it normally would. 

if you are used to rm moving things to the trash then it will bite you
every time when this is not the case.

better to get used to a new command for trashing files, and stumble over
a harmless "command not found" error in those exceptions mentioned.

for the same reason btw it is not good to make cp -i and mv -i (and god
forbit rm -i) default options (stupid redhat, are they still doing that?). 
however it is good to actually use -i for cp and mv, but not so much for rm
(on cp and mv the -i will ask you in the unusual case where you
accidently would overwrite something what you normally do not want,
rm -i will ask you on every file to remove, something which you do want
anyways, so you will get accustomed to blindly hit yes, making the
question useless.)

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/

Reply via email to