awk,sed 사용하기
예
cat xxx.csv | sort -n | uniq | awk -F',' '{print $2","$1}' | sort | awk -F',' '{print $2","$1}' > regi_5.csv
awk '$1 ~ /,/ {print $7} {print $5}' test
awk 'BEGIN {sum=0;} {sum += $1;} END {print sum;}' test
sed s'/, //'g test | awk '{print $6}'
awk 'BEGIN {getsum=0; postsum=0; others=0; } {if ($(NF-3) == "POST") postsum+=1; else if ($(NF-3) == "GET") getsum+=1; else others+=1; } END {print getsum, postsum, others}'