looking for info on builtin hashing of command in csh
Timothy H Smith
tim at VAX1.CC.UAKRON.EDU
Wed Mar 22 14:40:50 AEST 1989
hello..
Im looking for a very specific reference of how the builtin
hash function for csh works. I need specific info on how that hash
funtion works in that is does not have to search the (path) for
the location of a command (executable +x) file.
I am able to creat a new executable file and csh will find it, but
if a move a file to a different location csh cannot find it. I then
have to do a rehash.
I believe that csh looks at the location of where it thinks the
file is in it's hash table, and when it's not there it complanes.
Is this true? How does it know the difference between a newly
created file and one not in its hash table. Does csh check that path
if the named executable is not in its table?
thanks for any help
tim at vax1.cc.uakron.edu
More information about the Comp.unix.wizards
mailing list