[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about help information for the printf command
From: |
Chet Ramey |
Subject: |
Re: Question about help information for the printf command |
Date: |
Tue, 10 Sep 2019 10:32:21 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
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/