Mail Archives: cygwin/2004/09/10/15:20:57
Thanks Neal,
I had assumed the issue was with the rm statement, and was experimenting
there.
Some experimentation shows the problem is with the first echo statement.
If I replace the first echo statement with /bin/echo or even printf
the second echo statement works fine.
So, as you said, the TCSH echo statement has the strange behavior.
I guess it doesn't "release" the file, or close a pipe or something.
Thanks again, this is a good workaround.
Paul
-----Original Message-----
From: neal somos [mailto:nsomos AT yahoo DOT com]
Sent: Friday, September 10, 2004 1:15 PM
To: cygwin AT cygwin DOT com
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 functions differently.
neal
_______________________________
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -