sort command tutorial
1 |
|
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/