This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: cygiwn newline character
- To: "hrishy" <hrishys at yahoo dot co dot uk>
- Subject: RE: cygiwn newline character
- From: "Alec Mihailovs" <mihailovs at email dot msn dot com>
- Date: Thu, 18 Oct 2001 13:06:29 -0400
- Cc: "Cygwin" <cygwin at cygwin dot com>
- Reply-To: <amihailo at shepherd dot edu>
You should put a $ sign in front of '\t' :
echo hello world $'\t' hi there
Alec
-----Original Message-----
i am running the following programme under windows
#!/bin/sh
echo hello world '\t' hi there
i am getting the output as hello world '\t' hi there
wheras i require the output to be
hello word hi there
could anybody please help
regards
Hrishy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/