> which is the expected output. On linux I get > schulte@vps:~$ printf -0 > -bash: printf: -0: invalid option > Would you rate this a bug in GNU printf(1)?
The gnu printf manpage does mention "Your shell may have its own version of printf, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports." So you might want to figure out if you are running a builtin or not, and then check manpage for either the binary or the shell, depending on the result. -- May the most significant bit of your life be positive.