delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: Help running bash scripts |
Date: | Tue, 21 Nov 2006 21:18:42 -0600 |
Lines: | 26 |
Message-ID: | <4563C192.1020307@DeFaria.com> |
References: | <loom DOT 20061120T211910-507 AT post DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
In-Reply-To: | <loom.20061120T211910-507@post.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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? Picking nits here, to have a "bash" script don't you need "#!/bin/bash"? -- Andrew DeFaria <http://defaria.com> A dyslexic man walks into a bra... -- 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 |