sort 功能
sort file //默认按字典顺序排序
sort -n file //按数值大小排序
sort +1n file //The +1 says to skip the first field and sort file by value
sort +1 file //The +1 says to skip the first field and sort file alphabeticaly
sort +1 -t: file //The -t: says use character ':' sort delimiter
sort 功能小结
最新推荐文章于 2021-05-04 17:24:35 发布