Have you considered using shell functions or aliases to do the same
   thing?  For example, in bash, some people like doing:

   alias rm='rm -i'

If one wants to really change the default behaviour (i.e. making
scripts use `rm -i') then one can always introduce a new command:

cat << EOF > ~/bin/rm
#!/bin/sh
/bin/rm -i $@
EOF
chmod a+x ~/bin/rm

or so, that way all programs that use rm will use your version of it,
and the reall rm will always get -i.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to