Add overall structure of format string for printf(3)
PATCH 1/1 Add overall structure of format string for printf(3)
Hi,
Thanks for creating and maintaining Linux man-pages project.
Can we add a small syntax structure for format string in printf(3) manual. I personally find if easier to remember and scan. This has been taken from OpenBSD printf(3) manual.
man3/printf.3 +7 -0
@@ -193,6 +193,13 @@ an optional and an optional .IR "length modifier" . .PP +Overall syntax of format string is: +.PP +.in +4n +.EX +%[$][flags][width][.precision][length modifier]conversion +.EE +.PP The arguments must correspond properly (after type promotion) with the conversion specifier. By default, the arguments are used in the order
Signature · 1 line
Utkarsh Singh