3 ms·
> Of course - printf(3) by definition "shall place output on the standard output stream stdout"[1]. If you want stderr or any other output stream, use fprintf(3
by kbenson 8y ago
> Of course - printf(3) by definition "shall place output on the standard output stream stdout"[1]. If you want stderr or any other output stream, use fprintf(3).
I reject your C-centric world for one of my own making. ;)
# perldoc -f printf | head -n3
printf FILEHANDLE FORMAT, LIST
printf FILEHANDLE
printf FORMAT, LIST
# perl -e 'printf STDERR "%0.2f\n", 2;' >/dev/null
2.00