https://man.openbsd.org/man1/printf.1 The section on the b format (%b) neglects to mention that for that format, it's \0num rather than \num Because of the way OpenBSD's printf is made, both \0num and \num work for %b, but, \0num is more correct and portable when using printf(1)'s %b format. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html
For comparison: https://www.freebsd.org/cgi/man.cgi?query=printf&apropos=0&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports&arch=default&format=html https://netbsd.gw.com/cgi-bin/man-cgi?printf+1
