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

Dave Korn dave.korn.cygwin@googlemail.com
Fri Jun 26 03:14:00 GMT 2009


Richard Haney wrote:

> I imagine that the messages involving "\r" have something to do with the
> \r\n conventions.  So I should mention that I use WordPad to edit
> bash-initialization files.

  That'll be the cause of the problem then; wordpad is a windows program, so
it tends to use windows-style CR/LF line ends.  You can still use it to edit
shell scripts, but always remember to run "d2u" on them afterward.

    cheers,
      DaveK


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