askalee
7/27/2018 - 7:10 AM

awk tips

Exclude lines matches a pattern

https://stackoverflow.com/a/39869870/231136

awk '$0 !~ /my_reg_pattern/'
awk '$0 !~ /my_reg_pattern/ { print $0; }'