Help running bash scripts

Tim Prince timothyprince@sbcglobal.net
Tue Nov 21 15:15:00 GMT 2006


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/



More information about the Cygwin mailing list