th C2x?
It's maybe a two or three line change at most.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/
On 4/25/22 3:06 PM, Paul Eggert wrote:
On 4/25/22 11:22, Chet Ramey wrote:
Thanks for the input.
You're welcome. Whenever you decide what to do about this, could you please
let us know? I'd like coreutils printf to stay compatible with Bash printf.
Thanks.
I think I'm goin
On 4/25/22 11:03 AM, Paul Eggert wrote:
On 4/11/22 11:52, Chet Ramey wrote:
On 4/9/22 3:31 PM, Paul Eggert wrote:
It sounds like there are three cases.
1. If the `L' modifier is supplied, as an extension (POSIX doesn't allow
length modifiers for the printf utility), use l
mode, use the existing code to get the highest possible
precision, as the code has done for over 20 years.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/
On 4/11/14, 6:16 AM, Steffen Nurpmeso wrote:
> Hello,
>
> Chet Ramey wrote:
> |On 4/10/14, 12:16 PM, Steffen Nurpmeso wrote:
> |
> |> Even better would nonetheless be the great picture with
> |> a termios(4) IUTF8 flag, some extended xywidth(3) that returns
>
nction.
But we have always been at war with EastAsia!
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
bullet points in the Posix description
of `test' implies prioritization.
- --
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
hat bash should do the same
thing in printstr when presented with an overflowing field width that it
does when using getint(). I will look at making that change.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
T_MAX, and goes on. The question is whether
it should turn an out-of-range field width into 0, an error, or
INT_{MIN,MAX}. Jim Meyering is correct when he says it's unspecified.
Different implementations have gone different ways.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
ngs.
This is covered in the man page and info document in the `test' builtin
section, where the behavior is detailed based on the number of arguments
supplied to `test'.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU
10 matches
Mail list logo