Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 1995 15:40:29 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        pecold@abrcp.cz
Subject:   Re: /bin/csh
Message-ID:  <199511071440.AA15411@Sysiphos>
In-Reply-To: "Petr Kodl" <pecold@abrcp.cz> "/bin/csh" (Nov  7, 15:17)

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 7, 15:17, "Petr Kodl" wrote:
} Subject: /bin/csh
} It seems there is a bug in /bin/csh in 2.0.5 release. It sometimes 
} doesn't recognize executables on path (except . ). It happenes, when the 
} executable is added or created while csh is already running. If I 
} want the csh to recognize the new executable file, I have to set path 
} or run new csh, which is not very comfortable. Does anybody know 
} better solution. 

Well, that's not a bug, it's a feature :-)

In fact, the csh uses a cache of paths to 
executables, and if you install a new one, 
you are expected to use the "rehash" builtin
command, to re-initialise the cache ...
(Changing the PATH does this as a side effect.)

See the csh man page.

Regards, STefan

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511071440.AA15411>