Re: Simple shell script not working

2007-09-02 Thread Morgan Gangwere
On 9/1/07, Bengt-Arne Fjellner [EMAIL PROTECTED] wrote: Yxg wrote: I have also encounted this problem: bash: $'\r': command not found when start the cygwin programme.Have you found the method to fix it? Reason you have edited some file with the wrong editor run d2u on .bashrc

Re: Simple shell script not working

2007-09-01 Thread Yxg
I have also encounted this problem: bash: $'\r': command not found when start the cygwin programme.Have you found the method to fix it? -- View this message in context: http://www.nabble.com/Simple-shell-script-not-working-tf4171206.html#a12446290 Sent from the Cygwin Users mailing list archive

RE: Simple shell script not working

2007-09-01 Thread Bengt-Arne Fjellner
Yxg wrote: I have also encounted this problem: bash: $'\r': command not found when start the cygwin programme.Have you found the method to fix it? Reason you have edited some file with the wrong editor run d2u on .bashrc .bash_profile -- Bengt-Arne Fjellner -- Unsubscribe info:

Re: Simple shell script not working

2007-07-30 Thread Reid Thompson
On Mon, 2007-07-30 at 10:07 -0700, on behalf of zip184 wrote: This is the 2-line shell script I'm trying to run: #! /bin/sh touch test.txt The privledges are set to 777 I get the error output line: bash: $'\r': command not found for each command I put in the script, including

RE: Simple shell script not working

2007-07-30 Thread Brian D. McGrew
What are you using for an editor? Try it with vi, nedit or emacs. Sounds like you've got DOS new-line characters on each line. -brian Brian D. McGrew{ [EMAIL PROTECTED] || [EMAIL PROTECTED] } -- Do not read this email while waxing that cat! -Original Message- From: [EMAIL