Bug 105461

Summary: scanf flags documentation
Product: Documentation Reporter: Jon Harper (jon.harper87)
Component: man-pagesAssignee: documentation_man-pages (documentation_man-pages)
Status: RESOLVED CODE_FIX    
Severity: normal CC: mtk.manpages
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Jon Harper 2015-10-04 20:27:53 UTC
I'm trying to improve the scanf documentation in glibc regarding the "'" and possibly "I" flags: https://sourceware.org/ml/libc-help/2015-10/msg00003.html

The scanf(3) page seems to be a partial copy of the glibc texinfo manual, so the improvements should apply to it.

I'm using this bug as a remainder; for now, I think we should wait until the glibc manual is updated.
Comment 1 Michael Kerrisk 2017-01-25 22:56:52 UTC
I'm closing this bug as it's been inactive for some time. But, I have added the following text to scanf(3):

       ·      For decimal conversions, an optional quote  character  (').
              This  specifies that the input number may include the thou‐
              sands' separator as defined by the LC_NUMERIC  category  of
              the current locale.  (See setlocale(3).)  The quote charac‐
              ter may precede or follow  the  '*'  assignment-suppression
              character.