标签: csv sorting unix awk format
我想通过第36列对CSV文件进行排序,跳过前8行。
我尝试过:
awk '(NR>8 ){print; }' Hight_5x5.csv | sort -nk36
但不起作用。
我认为这可能是由于具有","分隔符的数据格式所致。例如,...,"0.041","3.5","40","false","1000","1.3","20","5","5","-20","2","100000000","0.8",...是一行中的某些数据。
","
...,"0.041","3.5","40","false","1000","1.3","20","5","5","-20","2","100000000","0.8",...
我的数据文件位于此link中。
致谢