numfmt
numfmt [OPTIONS]
Convert numbers from/to human-readable strings
Options
--help,-h-
Print help information
--version,-V-
Print version information
--delimiter=<X>,-d <X>-
use X instead of whitespace for field delimiter
--field=<FIELDS>-
replace the numbers in these input fields (default=1) see FIELDS below
--from=<UNIT>-
auto-scale input numbers to UNITs; see UNIT below
--to=<UNIT>-
auto-scale output numbers to UNITs; see UNIT below
--padding=<N>-
pad the output to N characters; positive N will right-align; negative N will left-align; padding is ignored if the output is wider than N; the default is to automatically pad if a whitespace is found
--header=<N>-
print (without converting) the first N header lines; N defaults to 1 if not specified
--round=<METHOD>-
use METHOD for rounding when scaling; METHOD can be: up,down, from-zero (default), towards-zero, nearest
--suffix=<SUFFIX>-
print SUFFIX after each formatted number, and accept inputs optionally ending with SUFFIX