This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Escape Character
- From: Markus Schönhaber <mailing-cygwin at schoenhaber dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 4 Aug 2006 15:07:38 +0200
- Subject: Re: Escape Character
- References: <5649305.post@talk.nabble.com>
- Reply-to: cygwin at cygwin dot com
mattlucasv wrote:
> 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
man echo
would have shown you echo's "-e" option. Try
echo -e "\t\t Hello"
I doubt that that's a matter of whether you use Cygwin or not but a matter of
whether you use the echo command from the GNU core utilities or not. On your
True64 unix, you propably don't.
Regards
mks
--
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/