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 /NEWS | |
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 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,8 @@ GNU coreutils NEWS -*- outline -*- dd accepts a new status=progress level to print data transfer statistics on stderr approximately every second. - numfmt can now process multiple fields using field ranges similar to cut. + numfmt can now process multiple fields with field range specifications similar + to cut, and supports setting the output precision with the --format option. split accepts a new --separator option to select a record separator character other than the default newline character. |