Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: From: "Myers, Paul R (Research)" To: cygwin@cygwin.com Subject: RE: TCSH 6.13 shell script can't re-write to a file Date: Fri, 10 Sep 2004 15:19:40 -0400 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@yahoo.com] Sent: Friday, September 10, 2004 1:15 PM To: cygwin@cygwin.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/