delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <45809110.5070007@buddydog.org> |
Date: | Wed, 13 Dec 2006 18:47:28 -0500 |
From: | Jonathan Arnold <jdarnold AT buddydog DOT org> |
User-Agent: | Thunderbird 1.5.0.5 (X11/20060804) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: strange problems with bash after cygwin update |
References: | <45803444 DOT 9030604 AT freehackers DOT org> |
In-Reply-To: | <45803444.9030604@freehackers.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Philippe Fremy wrote: > Hi, > > My cygwin installation is pretty old, so I decided to update it. > > After running the update, bash has a very very strange behaviour. > > I wrote a test-bash.sh file with: > ==========[ content of test-bash.sh ]==== > echo this is a test of bash > ========== > > > When I run it: > << > User AT Phil_vaio ~ > $ bash test-bash.sh > : command not found1: > this is a test of bash > > User AT Phil_vaio ~ > $ . test-bash.sh > : command not found > this is a test of bash > > Any idea what got broken during the update ? You almost certainly have DOS line endings in a file on a binary mount. Either run it through d2u (DOS 2 unix) or edit it using an editor that doesn't add DOS line endings. Or any other of a myriad solutions. See much discussion and, most importantly, the release notes for the latest Base. -- Jonathan Arnold http://www.buddydog.org When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |