tcsh shell script cannot open newly created file
Posted on 2007-03-21
in a tcsh script, I created a new file in a different directory. in the same script in the later part, I tried to open the file I just created, it returned "cannot open...."
I've checked everything and positive that the path is correct. Now if I exit the script and run the same command, then the file opens OK
My suspect is that because the file is newly created so there maybe some delay and the script cannot recognize it.
Can you help ?