Next: , Up: File Searching


4.1 Factors Affecting File Search

Cold searches in a number of places for files. There are three things that affect where it searches:

The file searching algorithm searches in all of the following places, in this order:

Actually, the last two are interleaved, so it goes through each directory in the search path, and searches in that subdirectory of the current directory, then that subdirectory of the main search directory.

COLD opens the first match for the file in question, so for example, by putting a file in the current directory, you can effectively override the file in a later search directory.