Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3AAE133A.5FAB0F8B@yahoo.com>
Date: Tue, 13 Mar 2001 07:31:54 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Stephen Patterson <fileysurgery@techie.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: Scripting with Bash
References: <382228018.984477206135.JavaMail.root@web572-mc>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Stephen Patterson wrote:
> 
> I *think* it's \c not \n, but i've not done any bash scripting for quite a while, so I could be wrong :-)
> 
> ------Original Message------
> From: Galen Boyer <galenboyer@yahoo.com>
> To: cygwin@sourceware.cygnus.com
> Sent: March 12, 2001 12:13:09 PM GMT
> Subject: Scripting with Bash
> 
> I am starting to convert a ksh script to Bash.  Everything is
> going fine, except I can't figure out how to have standard out
> display more than one line in an echo.
> 
> Is there a way to include the \n's in a statement like "echo
> "Blah\n"" and have standard out display "Blah and a newline"
> instead of Blah\n?

How about:

echo "
a
b
c
d
e
f
g
"

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

