Escape Character
Markus Schönhaber
mailing-cygwin@schoenhaber.de
Fri Aug 4 13:07:00 GMT 2006
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/
More information about the Cygwin
mailing list