Running .sh files on Cygwin
Dave Korn
dave.korn@artimi.com
Wed Jan 17 19:52:00 GMT 2007
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).
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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