I have a number of CSH/TCSH shell scripts that work with text files.
In several cases I want to remove/erase a file before I start writing to it
again.
I simplified the problem to this example:
#!/usr/bin/tcsh
echo "Hello" > stuff
rm -f stuff
echo "Goodbye" > stuff
After a recent tcsh upgrade (from 6.12.00-7 to 6.13.00-2), the 2nd echo
command will produce the following error:
stuff: permission denied
The problem doesn't appear when run line-by-line from the command line, and
it doesn't appear when in a bash script.
Can anyone else verify this behavior?
It seems like a windows sharing violation, does that make sense?
Thanks for your help,
Paul
<<cygcheck_new.out>>