[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] doc: mention `numfmt` as an alternative to `sort -h`
From: |
Pádraig Brady |
Subject: |
[PATCH 3/3] doc: mention `numfmt` as an alternative to `sort -h` |
Date: |
Mon, 4 Mar 2013 00:58:16 +0000 |
* doc/coreutils.texi (sort invocation): Mention that numfmt
can achieve the same results with a possibly more accurate sort.
---
doc/coreutils.texi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 76a299f..ef65711 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -4332,6 +4332,9 @@ the @command{df}, @command{du}, or @command{ls} commands
that are
invoked with their @option{--human-readable} or @option{--si} options.
The syntax for numbers is the same as for the @option{--numeric-sort}
option; the SI suffix must immediately follow the number.
+Note also the @command{numfmt} command, which can be used to reformat
+numbers to human format @emph{after} the sort, thus allowing sort
+to operate on posibly more accurate numbers.
@item -i
@itemx --ignore-nonprinting
--
1.7.7.6