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