bash output: ./configure: line 16: $'\r': command not found

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Sep 19 21:47:00 GMT 2012


On Wed, Sep 19, 2012 at 02:06:53PM -0700, Richard Haney wrote:
>Two problems (at least).

Actually no problems.

You can't reliably use shell scripts with \r\n line endings.  So, you
either have to fix the shell scripts with something like dos2unix
(as recommended) or use the Cygwin-specific:

>set -o igncr

which was developed specifically for this problem.

cgf

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