searchpath

Ray Butterworth rbutterworth at watmath.waterloo.edu
Thu Sep 7 07:16:30 AEST 1989


In article <16246 at watdragon.waterloo.edu>, dvadura at watdragon.waterloo.edu (Dennis Vadura) writes:
> Ok, how do you get /bin/searchpath to put $HOME/bin FIRST in the searchpath
> before other directories.  I want it searched first since I have replaced
> some of the brain dead standard tools with slightly fixed versions of the
> same standard tools, and want to still call them the same.  I want to use
> searchpath to set the path so I can get the benefit of having the same
> .login on the various machines.

It's a pain to do with searchpath,
and that command is more or less obsolete now.
Use showpath instead.

                setenv PATH `/bin/showpath $HOME/bin standard`

> The man page does not help, I know showpath
> exists but can't figure out if it will do the trick since I can't find a
> man page for it so I guess showpath does not exist!

You set your own MANPATH variable, and so exclude a lot of man pages.

Instead try:

                setenv MANPATH `/bin/showpath $HOME/man standard`




More information about the Comp.unix mailing list