Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15355

Re: Question about help information for the printf command

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Question about help information for the printf command
Date 2019-09-10 10:32 -0400
Message-ID <mailman.91.1568125958.2190.bug-bash@gnu.org> (permalink)
References <tencent_2EE3CF9D374347623DD2AEAD51774DBE0F08@qq.com> <283601e2-dcdd-d782-1e1e-7d676b91066e@case.edu>

Show all headers | View raw


On 9/9/19 10:45 PM, 2477441814 wrote:
> Dear team,
> 
> 
> when I invoke 'help printf' in terminal to view help manual, It shown me '%b %q %(fmt)T' is an addition to printf(1) and printf(3), The online version of bash manual from (http://www.gnu.org/software/bash/manual/bash.html) does samely describe.  but from GNU coreutils 8.22 which installed on my computer, It had support '%b', and GNU coreutils 8.31 support both '%b' and '%q', so I think it's necessary to modify description.

The %b format specifier in printf(1) is a POSIX addition to the formats
that printf(3) supports. The %q and %T specifiers are non-standard and
not supported by all standalone printf implementations.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Question about help information for the printf command Chet Ramey <chet.ramey@case.edu> - 2019-09-10 10:32 -0400

csiph-web