is there some unix function i can call with a list of pathnames (ala "/foo/foo:/oof/oof:/etc/tec") and a filename ("foo") and it will return a string containing the pathname of where the file was found. albert