X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_RW,TW_WX X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: bash output: ./configure: line 16: $'\r': command not found Date: Thu, 20 Sep 2012 11:57:10 -0700 Lines: 21 Message-ID: References: <1348032215 DOT 75798 DOT YahooMailClassic AT web111505 DOT mail DOT gq1 DOT yahoo DOT com> <505961A4 DOT 3000000 AT molconn DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <505961A4.3000000@molconn.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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