Skip to content

command_sort

sort 
[-bcdfimMnr]
[-o<输出文件>]
[-t<分隔字符>]
[+<起始栏位>-<结束栏位>]

[-k field1[,field2]]
对第二列重排: `sort testfile -k 2`

Comments