我想删除一行,如果它包含指定的值.
2 5 8 1 3 7 8 5 9
因此,如果我想删除包含7作为第三个字段的行:
{ if($3 == 7){ ####delete the line } }
awk
awk ×1