echo() ( # subshell for local scope for $IFS
  IFS=' ' # needed for "$*"
  printf '%s\n' "$*"
)

# the subshell (i.e. spawning an extra process in most shell implementations)
# can be avoided using local IFS with many shells, or by writing it like this:
# echo() {
#   if [ "$#" -gt 0 ]; then
#      printf %s "$1"
#      shift
#      if [ "$#" -gt 0 ]; then
#        printf ' %s' "$@"
#      fi
#   fi
#   printf '\n'
# }
