shell删除指定行

cat f.txt | awk -F, '{$9=null;print $0}' | awk 'BEGIN{OFS=",";}{print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10}' > afterdelete.csv

 

posted @ 2021-06-05 11:08  十点  阅读(810)  评论(0编辑  收藏  举报