From 2c2d0b3644c2ce2fb723b7f888e3da3a1e4e3bca Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Mon, 4 Mar 2013 00:55:57 +0000 Subject: [PATCH] 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. --- doc/coreutils.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 76a299f156..c6b3b32261 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 -- 2.47.2