mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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.
This commit is contained in:
1 parent
e57d5c2bf8
commit
2c2d0b3644
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user