delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/13/05:11:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <C9A98ED35114D31197D000805FEA668E027B1AB7@mucexch.muc.sdm.de>
From: klaus DOT berndl AT sdm DOT de
To: fileysurgery AT techie DOT com, cygwin AT sourceware DOT cygnus DOT com
Subject: AW: Scripting with Bash
Date: Tue, 13 Mar 2001 10:58:06 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

>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?

echo -e "Blah\nnext line\nanother next line"

But in genreral: man echo is your friend :-)

Klaus

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019