in reply to Re: Finding files in unix irrespective of case
in thread Finding files in unix irrespective of case

Hi, I appreciate your help. In this code you are converting the file name's all characters to lowercase and searching the directory. If user includes the file like
#include <Myheader.H>
then your logic will fail. So it requires to check both lower and upper case for each letter in a file name while searching in the directory. Infact we can put all the filenames user supplied in an array and convert those all file names into lower case and create a hash and compare with the file names in "missing.txt" file. But I think it is laborious and may not be a good idea. Thanks Ashok