This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cygiwn newline character


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]