> $ which true
> /bin/true
> but that's not what gets called by
> $ true
> etc. etc. It seems that the only way to get 'which' to know about
> bash builtins is to make it a builtin itself [in addition to, not
> replacement for, /usr/bin/which, etc.] That seems to be the right way
> to get it to give the correct answer from within bash [where it will
> know about builtins] or from outside of bash [where it will only know
> about /bin, etc.].
Don't use `which'; use `type'.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/