Scripting with Bash

Earnie Boyd earnie_boyd@yahoo.com
Tue Mar 13 04:31:00 GMT 2001


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



More information about the Cygwin mailing list