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 .bashr

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: htt

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 Cygwi

RE: Simple shell script not working

2007-07-30 Thread Brian D. McGrew
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zip184 Sent: Monday, July 30, 2007 10:08 AM To: cygwin@cygwin.com Subject: Simple shell script not working 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 erro

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 scri

Simple shell script not working

2007-07-30 Thread zip184
hat works for some reason. Anybody have any ideas on how to fix this? -- View this message in context: http://www.nabble.com/Simple-shell-script-not-working-tf4171206.html#a11866789 Sent from the Cygwin Users mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#u