Benjamin Scott <[EMAIL PROTECTED]> wrote:

>  Aliases are not the problem.  The problem is aliasing commands *for
>someone else*.  If I alias 'ls' to 'rm -rf .', then that is my own
>business, and presumably I have a reason.  It is things like Unix and
>Linux distro vendors setting up "default" aliases which gets people
>into trouble.

I'll second this.

I remember in my early Unix days having trouble with the "man"
command.  I read its manpage and set up MANPATH to point to a new
collection of man pages, but it was ignored.  "which man" confirmed I
was invoking the right program.  Eventually I discovered that some
helpful soul had set up 

        alias man man -M /some/path

and the command line option overrides the environment variable.

That's the reason I now use "type -a" instead of "which".

           - Jim Van Zandt

*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to