I want to use a Regex that find all lines in text except the lines that I passed with Regex. I have found a useful code here enter link description hereawk '/.*test.*/{f=1}f;/end/{f=0}' myFile
. I want to use it contrariwise.
I mean I don't want to see the lines between test and end, but I want to see other lines.
I want to do this on a Linux environment.
How can I negative these AWK
?