X-Spam-Check-By: sourceware.org
X-YMail-OSG: tKgNU80VM1kKQMGUQJZL_LVaUoMuLf6uchq1sAq134eRowLTBORD0ASZVNjt5b_45JMvvO7gZaOT5VFOdJXBiLbbGJRkOiPWOHBuH3WY..LYnp5qkjThRO.zNl8D8yedA9wX1kQkMkWa.f._0Vs0.jdWd9bGcue0DLk-
Message-ID: <456314C3.5080901@sbcglobal.net>
Date: Tue, 21 Nov 2006 07:01:23 -0800
From: Tim Prince <timothyprince@sbcglobal.net>
Reply-To: tprince@myrealbox.com
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Help running bash scripts
References: <loom.20061120T211910-507@post.gmane.org>
In-Reply-To: <loom.20061120T211910-507@post.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Thierry wrote:
> I have installed cygwin on Windows XP along with 
> the bash shell options but I'mhaving a problem 
> running a simple sh script(test.sh):
> 
> 
> #!/bin/sh
> 
> # test
> 
> 
> If I run the above script under cygwin, 
> I get the following error message:
> 
> $ ./test.sh
> : command not found
> 
> 
> Can anyone help me on that and tell what I'm missing 
> from the cygwin installation?
> 

If that's what you think, read the FAQs on how to present evidence.  But 
first, did you put \r characters in your test.sh file?

--
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/

