diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-06-19 19:18:21 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-21 04:16:29 +0100 |
commit | 0a279f619055cc165bb3cfa3bb737cdd28ed4d70 (patch) | |
tree | 6149ce7f474051369efba96680228e3e0b5716db /tests/pr/nSml20-t-t-FF | |
parent | 71063bc858cd927e3622b511297e66b3e13f7453 (diff) | |
download | coreutils-0a279f619055cc165bb3cfa3bb737cdd28ed4d70.tar.xz |
numfmt: support user specified output precision
* src/numfmt.c (usage): Update the --format description
to indicate precision is allowed.
(parse_format_string): Parse a precision specification
like the standard printf does.
(double_to_human): Honor the precision in --to mode.
* tests/misc/numfmt.pl: New tests.
* doc/coreutils.texi (numfmt invocation): Mention the new feature.
* NEWS: Likewise.
Diffstat (limited to 'tests/pr/nSml20-t-t-FF')
0 files changed, 0 insertions, 0 deletions