# if you still have to supress newline with echo for some reason
# a possible workaround is the following code ( ${1+"$@"} instead of "$@" ):

if [ "$(echo -n)" = "-n" ]; then
  echo_n() { echo ${1+"$@"}"\c"; }
else
  echo_n() { echo -n ${1+"$@"}; }
fi 
