help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Escape Character and NewLine


From: Chet Ramey
Subject: Re: [Help-bash] Escape Character and NewLine
Date: Tue, 17 Sep 2019 16:31:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 9/17/19 4:15 PM, Fernando Basso wrote:
> According to the POSIX spec on `printf',
> 
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html
> 
> the "format" shall be used as the format string as described in the File
> Format Notation docs:
> 

Come on. If you read a little further, you see:

"9. The format operand shall be reused as often as necessary to satisfy the
   argument operands. Any extra b, c, or s conversion specifiers shall be
   evaluated as if a null string argument were supplied; other extra
   conversion specifications shall be evaluated as if a zero argument were
   supplied. If the format operand contains no conversion specifications and
   argument operands are present, the results are unspecified."


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]