]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: mention `numfmt` as an alternative to `sort -h`
authorPádraig Brady <P@draigBrady.com>
Mon, 4 Mar 2013 00:55:57 +0000 (00:55 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 6 Mar 2013 16:15:23 +0000 (16:15 +0000)
* doc/coreutils.texi (sort invocation): Mention that numfmt
can achieve the same results with a possibly more accurate sort.

doc/coreutils.texi

index 76a299f156552d06dbf76c1aadb8c1a5b309ee37..c6b3b32261b025659149c4e93bdf63395fb9af6e 100644 (file)
@@ -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