cygiwn newline character

Alec Mihailovs mihailovs@email.msn.com
Thu Oct 18 10:06:00 GMT 2001


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/



More information about the Cygwin mailing list