RE: TCSH 6.13 shell script can't re-write to a file

2004-09-10 Thread Myers, Paul R (Research)
EMAIL PROTECTED] Subject: Re: TCSH 6.13 shell script can't re-write to a file If you use /bin/echo the problem goes away. I can reproduce the problem with tcsh and when using /bin/echo instead of the builtin, I get the expected behavior. Apparently the built-in echo function

Re: TCSH 6.13 shell script can't re-write to a file

2004-09-10 Thread neal somos
If you use /bin/echo the problem goes away. I can reproduce the problem with tcsh and when using /bin/echo instead of the builtin, I get the expected behavior. Apparently the built-in echo functions differently. neal ___ Do you Yahoo!? Shop for Bac

Re: TCSH 6.13 shell script can't re-write to a file

2004-09-10 Thread Isaac Foraker
I just tried this and had the same problem: > echo "Hello" > Stuff > rm -f Stuff > echo "Goodbye" > Stuff Stuff: Permission denied. > ls -l Stuff ls: Stuff: No such file or directory > tcsh --version tcsh 6.13.00 (Astron) 2004-05-19 (i386-intel-posix) options 8b,nls,dl,al,kan,rh,color,dspm > uname

TCSH 6.13 shell script can't re-write to a file

2004-09-10 Thread Myers, Paul R (Research)
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