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

Andrew DeFaria Andrew@DeFaria.com
Thu Sep 20 21:44:00 GMT 2012


On 9/18/2012 11:09 PM, LMH wrote:
> That error is a sign that the file is in the DOS format and not the 
> UNIX format. Bash doesn't recognize the windows end of line character \r.
>
> Just run dos2unix on the file
> dos2unix configure
>
> that should take care of the error.
DYK:

Ltsdo-adefaria:ll -i /bin/d2u /bin/dos2unix
2533274790476180 -rwxr-xr-x 3 adefaria clearusers 31773 Sep  7 13:07 
/bin/d2u*
2533274790476180 -rwxr-xr-x 3 adefaria clearusers 31773 Sep  7 13:07 
/bin/dos2unix*

So you can just use: d2u configure
-- 
Andrew DeFaria <http://defaria.com>
Dumb Question Department: Been swimming. Smart Answer: No, I was out 
walking my pet fish!


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