This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Escape Character
- From: Franz Wolfhagen <FRANZW at dk dot ibm dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 4 Aug 2006 14:54:56 +0200
- Subject: Re: Escape Character
cygwin-owner@cygwin.com wrote on 04-08-2006 14:23:49:
>
> Hi
>
> I am new to Cygwin and I am just trying to use the escape character
example
> is
>
> echo "\t\t Hello"
>
> but this returns \t\t Hello and ignores the escape characters.
>
> I was looking for it to return Hello with a couple of TABS in front
like
> it does on our True64 unix system. Is the escape character differant in
> Cygwin or am I missing something ??? any help would be great
> --
> View this message in context: http://www.nabble.com/Escape-
> Character-tf2050870.html#a5649305
> Sent from the Cygwin Users forum at Nabble.com.
"man echo" has the answer - on Cygwin use the "-e" argument ie : echo -e
"\t\t Hello"
Med venlig hilsen / Regards
Franz Wolfhagen
Tivoli Senior I/T Specialist
IBM Denmark
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/