Sort
-uunique-fignore case
fold lower case to upper case characters-b–ignore-leading-blanks
ignore leading blanks-n–numeric-sort
compare according to string numerical value-t–field-separator=SEP
use SEP instead of non-blank to blank transition-k–key=POS1[,POS2]
start a key at POS1, end it at POS2 (origin 1)
-t -k 经常配合使用
1 2 3 4 5 | |
1 2 3 4 5 | |
-r–reverse
reverse the result of comparisons