This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sqlplus and end-of-line problem in shell script code

Hash: SHA1

Ugh - top-posting reformatted and irrelevant context trimmed to avoid

> Am Fri, 29 Sep 2006 10:09:45 -0700 (PDT)
> schrieb "Peter A. Castro" <doctor AT fruitbat DOT org>:
                                   ^^^^        ^^^^^

UGH - raw email addresses munged, to avoid spamming others.

>> 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   
volunteer cygwin bash maintainer
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]