X-Spam-Check-By: sourceware.org Message-ID: <452104BE.2030100@byu.net> Date: Mon, 02 Oct 2006 06:23:26 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, thomas DOT porschberg AT osp-dd DOT de Subject: Re: sqlplus and end-of-line problem in shell script code References: <20060929102628 DOT 49430820 AT porschberg DOT osp-dd DOT de> <20060929180634 DOT 53341dd9 AT porschberg DOT osp-dd DOT de> <20061002132729 DOT 30e37e47 AT porschberg DOT osp-dd DOT de> In-Reply-To: <20061002132729.30e37e47@porschberg.osp-dd.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ugh - top-posting reformatted and irrelevant context trimmed to avoid http://cygwin.com/acronyms/#TOFU. > Am Fri, 29 Sep 2006 10:09:45 -0700 (PDT) > schrieb "Peter A. Castro" : ^^^^ ^^^^^ UGH - raw email addresses munged, to avoid spamming others. http://cygwin.com/acronyms/#PCYMTNQREAIYR > >> On Fri, 29 Sep 2006, Thomas Porschberg wrote: >> >> Check your mounts. See if you have /tmp mounted in textmode. >> Also, check if the filesystem you are running the script from is >> mounted in textmode or not and weither the CYGWIN env var has >> textmode on binmode set. Try playing around with textmode & >> binmode. Read the cygwin doc concerning text translation: >> > > I think I found the problem. > A college of me did not update its cygwin packages for a long time. > And my script was working at his cygwin environment. > Then he updated to the recent packages and to the recent bash. > And my script did not work any longer ! I would need more details on your setup of why you think the blame is on bash, although if you did upgrade to bash-3.1-8, you should read the various other threads from this week on my intentional change to no longer support \r\n line endings in bash scripts residing on binary mount points in the interest of speed. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net volunteer cygwin bash maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIQS984KuGfSFAYARApI6AJ0USKOfcZFaTGkJ6ghXCdo2Vd26GwCgn5lT a8tjx7120wXpN5BYWuzB4lM= =Ow30 -----END PGP SIGNATURE----- -- 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/