X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Backus Subject: Re: Unable to run even simple batch scripts any more Date: Tue, 13 Feb 2007 00:56:24 +0000 (UTC) Lines: 29 Message-ID: References: <021b01c74ef4$b38a71d0$8532a8c0 AT M6> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Matthew Woehlke users.sourceforge.net> writes: > Dennis Simpson wrote: > > Three of us updated to latest windows cygwin last week, and none can run > > even simple .sh scripts any more. Prior version was 6 months ago. > > http://cygwin.com/ml/cygwin-announce/2006-12/msg00026.html > > Next time RTFRA. Oh, and STFLA; this particular horse died a *loooong* > time ago. Obviously, the horse is still alive and attempting to limp along. I predict it'll stay alive for quite some time longer. * Bash's current treatment of crlf causes unexpected breakage of things that worked for years, and which most naive users expect to continue to work. * Workaround using text mounts fails because lots of cygwin commands don't work right under text mounts (gzip for example, but there's lots more). * Workaround by exporting SHELLOPTS breaks things because it put interactive things like history expansion into non-interactive shells (try calling "man bash" after exporting SHELLOPTS with igncr, for example). * Workaround inserting "set -o igncr" is impractical when there are lots of scripts. * Workaround calling d2u is impractical when there are lots of scripts, and breaks if the scripts must work with non-cygwin shells. I know, cygwin developers are not interested in fixing this, which is certainly their right. But you can be sure that reports of this problem will continue to arrive. -- 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/