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
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
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 archiv
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 PRO
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
5 matches
Mail list logo