This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]