Instantly share code, notes, and snippets.
含空格字符串转多行
awk '{for(i=1;i<=NF;i++) print $i}'
某两个字段比较
awk '{if ($3!=$4) print "ok"$0 }'