[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf(1) bug?
From: |
Paul Eggert |
Subject: |
Re: printf(1) bug? |
Date: |
Mon, 28 May 2007 22:16:00 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Eric Blake <address@hidden> writes:
> However, since coreutils accepts hh as an extension, should it issue a
> warning if the string being printed does not fit in an unsigned char? Or
> should it silently wrap around, and print 0 instead of 256? Or are we
> okay with keeping status quo that the size specifiers must be valid
> according to printf(3) rules, but are otherwise ignored?
ksh and bash ignore size specifiers, so there's good precedent for the
current behavior. I'd leave it alone.
- printf(1) bug?, Eric Blake, 2007/05/28
- Re: printf(1) bug?,
Paul Eggert <=