X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <590227.67299.qm@web111504.mail.gq1.yahoo.com> Date: Fri, 26 Jun 2009 16:46:46 -0700 (PDT) From: Richard Haney Subject: Re: "bash: $'\r': command not found"; also "e"s nonfunctional and get deleted in bash window To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Thanks all for the comments. It turns out that, by info discovered via using "bash --help" and then `bas= h -c "help set"', I could simply add `-o igncr' to the login command line i= n the cygwin.bat file. That's a lot simpler than using d2u or introducing another editor. Richard Haney --- On Thu, 6/25/09, Eric Blake wrote: > From: Eric Blake > Subject: Re: "bash: $'\r': command not found"; also "e"s nonfunctional an= d get deleted in bash window > To: cygwin AT cygwin DOT com, rfhaney AT yahoo DOT com > Date: Thursday, June 25, 2009, 7:51 PM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > [http://cygwin.com/acronyms#PCYMTWLL] >=20 > According to Richard Haney on 6/25/2009 6:12 PM: > > bash: /etc/profile: line 91: syntax error near > unexpected token `$'in\r'' >=20 > As others have pointed out, that's due to using the wrong > line-endings in > your bash files.=A0 Reread the announcement: > http://cygwin.com/ml/cygwin-announce/2009-06/msg00038.html >=20 > > 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.=A0 And when I try > to edit the line to insert the "e"s, I find that my "e" key > is not functional. >=20 > That would be due to ~/.inputrc having a syntax error > (probably another > instance of the wrong line endings). >=20 > - -- > Don't work too hard, make some time for fun as well! >=20 > Eric Blake=A0 =A0 =A0 =A0 =A0 > =A0=A0=A0ebb9 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 >=20 > iEYEARECAAYFAkpEN6AACgkQ84KuGfSFAYDOYgCgjU1OU5hv8X4GEiSbmC5Sj5N3 > VfwAnRswtGdFdxlT/FvebtiS9AQSqW8f > =3Di9QA > -----END PGP SIGNATURE----- >=20 -- 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