This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Scripting with Bash
- To: Stephen Patterson <fileysurgery at techie dot com>
- Subject: Re: Scripting with Bash
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 13 Mar 2001 07:31:54 -0500
- CC: cygwin at sourceware dot cygnus dot com
- References: <382228018.984477206135.JavaMail.root@web572-mc>
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