xref: /freebsd/bin/sh/tests/builtins/printf4.0 (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1
2set -e
3v=$(! printf "%d" 4wrong 2>/dev/null)
4[ "$v" = "4" ]
5