[Gloucs] Odd shell behaviour...
Thomas Adam
thomas at edulinux.homeunix.org
Thu Jan 6 14:56:35 GMT 2005
On Thu, Jan 06, 2005 at 02:51:22PM +0000, Mick Brooks wrote:
> I have no aliases defined that concern gv, and I can't see any other
> gv executables that might be being picked up in my path before the
> correct one. Does anybody have any idea what's going on?
echo $PATH
It might be (by some odd coincidence) you have:
/usr/bin/X11
listed before:
/usr/bin
The order that the directories are listed in $PATH dictate the search
order used.
> It gets wierder, though: if I use strace (I wanted to see if I could
> see where bash was looking) like so:
>
> $ strace gv
>
> it works perfectly! What's 'strace gv' got that 'gv' doesn't?
So use the strace output to find out for yourself. :)
-- Thomas Adam
--
I know nothing, and understand even less.
More information about the gloucs
mailing list