summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-19 19:18:21 +0100
committerPádraig Brady <P@draigBrady.com>2015-06-21 04:16:29 +0100
commit0a279f619055cc165bb3cfa3bb737cdd28ed4d70 (patch)
tree6149ce7f474051369efba96680228e3e0b5716db /NEWS
parent71063bc858cd927e3622b511297e66b3e13f7453 (diff)
downloadcoreutils-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--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9c551d514..9b86d45f6 100644
--- a/NEWS
+++ b/NEWS
@@ -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.