summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-03-04 00:55:57 +0000
committerPádraig Brady <P@draigBrady.com>2013-03-06 16:15:23 +0000
commit2c2d0b3644c2ce2fb723b7f888e3da3a1e4e3bca (patch)
tree36568e46274f148a6de15fe4737c9df011d20bcf /doc
parente57d5c2bf8f5648b92b85e6ea3090dba3c71ea1a (diff)
downloadcoreutils-2c2d0b3644c2ce2fb723b7f888e3da3a1e4e3bca.tar.xz
doc: mention `numfmt` as an alternative to `sort -h`
* doc/coreutils.texi (sort invocation): Mention that numfmt can achieve the same results with a possibly more accurate sort.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 76a299f15..c6b3b3226 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 often allowing
+sort to operate on more accurate numbers.
@item -i
@itemx --ignore-nonprinting