delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/02/11:34:59

X-Spam-Check-By: sourceware.org
Message-ID: <4e41f5c20709020834l75afda21g7a720fa994e53f23@mail.gmail.com>
Date: Sun, 2 Sep 2007 09:34:34 -0600
From: "Morgan Gangwere" <0 DOT fractalus AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Simple shell script not working
In-Reply-To: <7FE216529E1FE248A760B58F6B82A81002095726@EMMA.personal.adp.ltu.se>
MIME-Version: 1.0
References: <11866789 DOT post AT talk DOT nabble DOT com> <12446290 DOT post AT talk DOT nabble DOT com> <7FE216529E1FE248A760B58F6B82A81002095726 AT EMMA DOT personal DOT adp DOT ltu DOT se>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/1/07, Bengt-Arne Fjellner
<bengt-arne DOT fjellner AT feed-the-spammers-nao> 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 .bash_profile
>
> --
> Bengt-Arne Fjellner

Also, it looks like you have to run das2unix on the script... " touch
foo.txt\r " is proboably what bash is running.

-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.
-----BEGIN PGP SIGNATURE-----
Version: Gmail/GnuPG Min32 Hack
Comment: Using GnuPG and Gmail - ask me about Grim Fandango

iD8DBQFGV3KQCF9T/dUsmAgRAvESAKDfZYbRtebNO+WPfx6DryIvIwt9TgCgukZG
cIj5nSWws/pAeW2ESlj7GuM=
=Y4uC
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019