pb with filetest identifiers - 03/04/04 01:14 AM
hi,
im currently scripting something that reads its configuration from files. one of them is named pipe.conf and even if it does exists my error checking routine reports its missing. i figured it was the filetest identifers $exists and $isfile not wanting to return true because the file is named 'pipe'.
i havnt had a chance to elaborate some tests to check for other reserved words preventing these identifiers from working correctly (touch files, check if they exists; i might do that later). aint checked $isdir either but i suppose it has the same problem.
im currently scripting something that reads its configuration from files. one of them is named pipe.conf and even if it does exists my error checking routine reports its missing. i figured it was the filetest identifers $exists and $isfile not wanting to return true because the file is named 'pipe'.
i havnt had a chance to elaborate some tests to check for other reserved words preventing these identifiers from working correctly (touch files, check if they exists; i might do that later). aint checked $isdir either but i suppose it has the same problem.