From: mh AT mike DOT franken DOT de (Michael Hirmke) Subject: Re: bash 2.01 and shell scripts 7 Sep 1997 18:29:14 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <6dMhtXO$pfB.cygnus.gnu-win32@mike.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Original-To: gnu-win32 AT cygnus DOT com In-Reply-To: <340BDBF3.67F8@ixos-leipzig.de> X-Mailer: CrossPoint v3.11 R/C9763 x-irc-nick: nobanzai x-no-archive: yes Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi Gunther, > Hi, > > I have some strange problems using shell scripts with bash 2.01. > Both bash and cygwin.dll are from Sergey's latest patch (08/10/97). > > When I try to execute a shell script, for example a configure > script, bash complains about syntax errors. However, the line > numbers in the error messages do not match the commands bash > complains about. Why don't you guys read Sergey's homepage exactly ? He states, that you have to use binary mounts and change all your shell scripts (and .bashrc is a shell script) from DOS format to U*ix format: "Bash 2.01 fails to read scripts with crlf line separators. Leave single line feeds." > > The most strange thing is that > > cat configure | bash > > works. In this case "cat" handles the s. > > Gunther Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mh AT mike DOT franken DOT de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".