This is the mail archive of the
mailing list for the Cygwin project.
RE: Running .sh files on Cygwin
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 17 Jan 2007 19:52:03 -0000
- Subject: RE: Running .sh files on Cygwin
On 17 January 2007 19:47, K. Basu wrote:
> I am very new to Cygwin, and ran into the following problem while
> trying to run a .sh file. On typing ./filename.sh at the prompt, I get
> a series of 'command not found' errors on what I suppose are several
> line numbers from the .sh file, followed by a syntax error near
> unexpected token 'elf' and so on.
> How should I fix this? Thanks for your help.
Run d2u on your script file, it has the wrong kind of line-endings (DOS
style CRLF instead of *nix style LF).
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html