printf, not echo, in scripts
echo differs between shells on -n, -e and backslashes, and echo "$var" mangles a variable that starts with a dash.
printf '%s\n' "$value"
printf 'name=%s count=%d\n' "$name" "$count"printf behaves the same everywhere and the format string keeps data and layout apart.
shell