* gettext-tools/po/POTFILES.in: Add src/format-sh-printf.c.
* gettext-tools/tests/format-sh-printf-1: Use 'printf' instead of 'echo',
because 'echo' processes escape sequences on macOS, OpenBSD, Solaris.
src/format-rust.c
src/format-scheme.c
src/format-sh.c
+src/format-sh-printf.c
src/format-smalltalk.c
src/format-tcl.c
src/hostname.c
n=`expr $n + 1`
escape_backslashes='s/\\/\\\\/g'
escape_dollars='s/\$/\\\$/g'
- string=`echo "$string" | LC_ALL=C sed -e "$escape_backslashes" -e "$escape_dollars"`
+ string=`printf '%s\n' "$string" | LC_ALL=C sed -e "$escape_backslashes" -e "$escape_dollars"`
cat <<EOF > f-sp-1-$n.in
gettext ${string};
EOF