Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site elsie.UUCP Path: utzoo!linus!vaxine!wjh12!harvard!seismo!rlgvax!cvl!elsie!ado From: ado@elsie.UUCP Newsgroups: net.bugs.4bsd Subject: unhash bug in 4.1bsd csh (w/manual fix) Message-ID: <988@elsie.UUCP> Date: Fri, 29-Jun-84 15:34:45 EDT Article-I.D.: elsie.988 Posted: Fri Jun 29 15:34:45 1984 Date-Received: Tue, 10-Jul-84 04:21:30 EDT Organization: NIH-LEC, Bethesda, MD Lines: 30 Description: The 4.1bsd manual entry for "csh" describes the builtin "unhash" command thusly: unhash Use of the internal hash table to speed location of executed programs is disabled. While the disabling does indeed occur, hashing is reenabled if a "set path" command is used. Repeat by: mkdir /tmp/progs unhash set path = ( /tmp/progs $path ) cp /bin/date /tmp/progs/when when and note that you get the diagnostic "when: Command not found." Had hashing truly been disabled, "when" would have been found. Fix: Change the description of "unhash" in "/usr/man/man1/csh.1" to read: Use of the internal hash table to speed location of executed programs is disabled until either a "rehash" command is given or the "path" variable is modified. -- ...decvax!allegra!umcp-cs!elsie!ado (301) 496-5688 (the DEC and VAX in decvax are Digital Equipment Corporation trademarks)