hash doesn't turn off

Randy McMurchy lfs-user at mcmurchy.com
Thu Aug 3 12:49:47 PDT 2006


nadav vinik wrote these words on 08/03/06 09:00 CST:

> Why the hashing is still working?

Nothing actually *unset* the -h (the default) in the first place.
So, if /usr/bin/clear was found, *just once*, before you installed
it in /tools, it would still remember it in /usr/bin, regardless if
you 'set +h'.

Keep in mind that issuing 'set +h' won't do anything, as it is the
default. At least that is my understanding. Couldn't you accomplish
your goal easier by invoking a new shell without hashing turned on?
That way it would always use the path, instead of a hash table.

-- 
Randy

rmlscsi: [bogomips 1003.27] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
14:49:01 up 1 day, 16:17, 1 user, load average: 0.53, 0.31, 0.20



More information about the lfs-support mailing list