X-Spam-Check-By: sourceware.org Date: Fri, 29 Sep 2006 10:26:28 +0200 From: Thomas Porschberg To: cygwin AT cygwin DOT com Subject: sqlplus and end-of-line problem in shell script code Message-ID: <20060929102628.49430820@porschberg.osp-dd.de> X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.3; i686-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 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/mypasswd AT MYDB <