porterleete <porterle...@gmail.com> writes: > Fix: > Either update the documentation of what printf in bash actually does. > If printf is using a standard for printf other than "what the biggest > C compilers currently do", document which standard it's using or > update it to the newest standard used by gcc and clang. If it really > is just this one feature that's missing, add it in or document its > absence.
The 'printf' in shells is different than the 'printf' specified by ISO C/POSIX. The documentation for the bash built-in can be found here: $ info '(bash)Bash Builtins' The 'printf' provided in your C library should be found in man page section 3. Your system probably comes with a program (not a shell built-in) too. That can be found in man page section 1. # C library. $ man -s 3 printf # System program. $ man -s 1 printf Collin