delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/25/22:51:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4A4437A1.8030302@byu.net>
Date: Thu, 25 Jun 2009 20:51:13 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, rfhaney AT yahoo DOT com
Subject: Re: "bash: $'\r': command not found"; also "e"s nonfunctional and get deleted in bash window
References: <318769 DOT 13123 DOT qm AT web111507 DOT mail DOT gq1 DOT yahoo DOT com>
In-Reply-To: <318769.13123.qm@web111507.mail.gq1.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[http://cygwin.com/acronyms#PCYMTWLL]

According to Richard Haney on 6/25/2009 6:12 PM:
> bash: /etc/profile: line 91: syntax error near unexpected token `$'in\r''

As others have pointed out, that's due to using the wrong line-endings in
your bash files.  Reread the announcement:
http://cygwin.com/ml/cygwin-announce/2009-06/msg00038.html

> And when I try to copy and paste "cygcheck -s -v -r > cygcheck.out" into
the bash command line, I find that the "e"s are missing.  And when I try
to edit the line to insert the "e"s, I find that my "e" key is not functional.

That would be due to ~/.inputrc having a syntax error (probably another
instance of the wrong line endings).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpEN6AACgkQ84KuGfSFAYDOYgCgjU1OU5hv8X4GEiSbmC5Sj5N3
VfwAnRswtGdFdxlT/FvebtiS9AQSqW8f
=i9QA
-----END PGP SIGNATURE-----

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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