diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/bltin/printf.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2155764..46ef4c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-27 Herbert Xu <herbert@gondor.apana.org.au> + + * Add printf support for format string a, A, and F. + 2014-10-13 Eric Blake <eblake@redhat.com> * cd: support drive letters on Cygwin. diff --git a/src/bltin/printf.c b/src/bltin/printf.c index 5f9e81c..e0ef912 100644 --- a/src/bltin/printf.c +++ b/src/bltin/printf.c @@ -191,9 +191,12 @@ pc: PF(f, p); break; } + case 'a': + case 'A': case 'e': case 'E': case 'f': + case 'F': case 'g': case 'G': { double p = getdouble(); |