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

2006-10-02 Thread Peter A. Castro
On Mon, 2 Oct 2006, Eric Blake wrote: -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" : ^

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

2006-10-02 Thread Eric Blake
-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 addr

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

2006-10-02 Thread Thomas Porschberg
Hi, 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 ! So it seems to be a problem with the new

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

2006-09-29 Thread Peter A. Castro
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 & b

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

2006-09-29 Thread Thomas Porschberg
Am Fri, 29 Sep 2006 10:08:04 -0500 schrieb mwoehlke <[EMAIL PROTECTED]>: > Thomas Porschberg wrote: > > Hi, > > I want to use our shell script collection which includes sqlplus > > calls under Cygwin. > > I have the following problem with this code snippet: > > > > #!/bin/bash > > > > RESULT=`sq

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

2006-09-29 Thread Thomas Porschberg
Am Fri, 29 Sep 2006 10:08:04 -0500 schrieb mwoehlke <[EMAIL PROTECTED]>: > Thomas Porschberg wrote: > > Hi, > > I want to use our shell script collection which includes sqlplus > > calls under Cygwin. > > I have the following problem with this code snippet: > > > > #!/bin/bash > > > > RESULT=`sq

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

2006-09-29 Thread mwoehlke
Thomas Porschberg wrote: Hi, I want to use our shell script collection which includes sqlplus calls under Cygwin. I have the following problem with this code snippet: #!/bin/bash RESULT=`sqlplus -s myuser/[EMAIL PROTECTED] < Um, if by "the code" you meant the above script, then no. Otherwise i

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

2006-09-29 Thread Thomas Porschberg
I do use Win2000 and a 9.2 Oracle database but I don't think it is related to that. Could you test it against an 9.2 database ? Can you send me the output from the `env` command ? Thank you for the first time. Oracle seems everywhere. Regards, Thomas P. Am Fri, 29 Sep 2006 11:35:43 +0200 schri

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

2006-09-29 Thread Dr. Volker Zell
> Thomas Porschberg writes: > Hi, > I want to use our shell script collection which includes sqlplus calls > under Cygwin. > I have the following problem with this code snippet: > #!/bin/bash > RESULT=`sqlplus -s myuser/[EMAIL PROTECTED] < SET FEEDBACK OFF; > SET

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

2006-09-29 Thread Thomas Porschberg
Hi, I want to use our shell script collection which includes sqlplus calls under Cygwin. I have the following problem with this code snippet: #!/bin/bash RESULT=`sqlplus -s myuser/[EMAIL PROTECTED]