Here are some possible solutions which I think do what you want:<br>
<br>
1. Output the lines which do NOT contain the pattern eg use the negation operator as part of relational expression with the pattern<br>
eg $0 !~ /30003/ {print $0;}<br>
would output all lines from the file except...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.