wiki:jazz/13-12-09

2013-12-09

Linux

  • <備忘> 怎麼用 Unix Sort 指令根據多個欄位進行排序 - Sorting multiple keys with Unix sort
  • http://stackoverflow.com/questions/357560
    sort -k 3,3 -k 2,2 < inputfile
    
    -k, --key=POS1[,POS2]     start a key at POS1 (origin 1), end it at POS2
                              (default end of line)
    
Last modified 11 years ago Last modified on Dec 9, 2013, 10:05:20 AM