I have a very simple bash script named runRWS.sh: /************ #!/bin/bash cd /soapui ls pwd ************/
When I run from cygwin console, , I get: /************ [EMAIL PROTECTED] /usr/bin $ ./runRWS.sh : No such file or directoryoapui ./runRWS.sh: line 3: $'ls\r': command not found /usr/bin ************/ I could see that command "cd", "ls" didn't work, but "pwd" was ok. I have directories mounted as below: /************* $ mount c:\Program Files\eviware\soapUI-Pro-2.0.3\bin on /soapui type system (binmode) d:\cygwin\bin on /usr/bin type system (binmode) d:\cygwin\lib on /usr/lib type system (binmode) d:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) g: on /cygdrive/g type system (binmode,noumount) h: on /cygdrive/h type system (binmode,noumount) m: on /cygdrive/m type system (binmode,noumount) r: on /cygdrive/r type system (binmode,noumount) **************/ Please help me how to run the bash script on cygwin. Note, I am a new user of cygwin. -- View this message in context: http://www.nabble.com/How-to-run-a-bash-shell-script-from-cygwin-coosole-tp18515908p18515908.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/

