text/binary? bash errors. Newbie problem.

Christopher Faylor cgf@cygnus.com
Sun Feb 28 23:02:00 GMT 1999

On Mon, Feb 15, 1999 at 10:55:23AM -0500, Steve Morris wrote:
>I'm having touble running configure for cvs. After a little isolation
>I discovered that sh is clearly not reading the same file that I see
>with cat. I'm getting errors 
>: not found
>on blank lines in the script. (bash gives different but similar
>errors.) I am having other problems also but this is the most obvious
>I'm obviously missing something basic in my setup but can't find
>it. It doesn't help that the list archive search engine is down and
>was all weekend.
>I'm running B20.1 (reinstalled it yesterday from scratch) with all
>disks binary mounted and CYGWIN=tty binmode.
>Any pointers appreciated.

This is almost certainly a problem with \r\n endings in your configure
file.  Unless you wiped out everything before reinstalling, you probably
still have files with \r\n line endings.


More information about the Cygwin mailing list