what is ksh equivalent of bash echo -n ?

Hi folks,

I need to stop printing a new line after echoing a string in KSH. i know bash provides

echo -n "string"

what is the ksh equivalent for this ?

Hi,

Use printf since echo -n isn't supported by ksh.

same arguments as with C

Hi spare_ribs,

Thanks for the info. Yes i am able to get away with printf.

 # echo "hello\c"