Escape Character

Franz Wolfhagen FRANZW@dk.ibm.com
Fri Aug 4 12:59:00 GMT 2006


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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /