X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Eliminating need to run dos2unix on scripts on mounted drive Date: Fri, 10 Aug 2007 12:45:02 -0600 Message-ID: <833AC6745BF7244D8A3F90C2C126E832A52A88@GHXEX.ghx.net> From: "Mary Ann Yeager" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7AIjKOr018920 I have a new installation of Cygwin (Unix/binary mode selected) trying to run a script on a mounted drive. The drive is binary mode: g: on /cygdrive/g type system (binmode,noumount) When I try to run the script, I get the following: ./01do_build.sh: line 2: $'\r': command not found ./01do_build.sh: line 6: $'\r': command not found ./01do_build.sh: line 9: $'\r': command not found If I run a dos2unix on the script, those errors go away. Running from another Cygwin install, I have already run the dos2unix command on this file via the mount, why do I have to run it again? Also, is there something in my setup that I can do to make it such that I don't have to run it at all? A previous install of Cygwin did not require the dos2unix. Mary Ann Yeager Sr. Software Configuration Engineer Global Healthcare Exchange, LLC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/