截取第一列和第四列,且第四列不为0

cat demo.txt | awk '{if($4!=0)print $1 "\t" $4}' >> result.txt

posted on 2022-09-07 16:21  kid;)  阅读(26)  评论(0)    收藏  举报