sort command tutorial

1
2
sort [_OPTION_]... [_FILE_]...  
sort [_OPTION_]... _--files0-from=F_

parameter

option description
-k sort by particular column
-b Ignores leading blanks.
-d Considers only blanks and alphanumeric characters.
-f Fold lower case to upper case characters.
-g Compares according to general numerical value.
-i Considers only printable characters.
-M Compares (unknown) < ‘JAN’ < … < ‘DEC’.
-h Compare human readable numbers (e.g., 2K 1G).
-n Compares according to string numerical value.
-R Shuffles, but groups identical keys. See also: shuf
-r Reverses the result of comparisons.

sort command tutorial
https://rug.al/2019/2019-04-24-sort-command-tutorial/
Author
Rugal Bernstein
Posted on
April 24, 2019
Licensed under