"bash: $'\r': command not found"; also "e"s nonfunctional and get deleted in bash window

Eric Blake ebb9@byu.net
Fri Jun 26 05:10:00 GMT 2009


-----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@byu.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



More information about the Cygwin mailing list