in reply to Re: how to check for a word in a file and if found remove that line, the above line and the below line from the file.
in thread how to check for a word in a file and if found remove that line, the above line and the below line from the file.

You can simplify by only keeping the lines you might want to print in the buffer. See Re: how to check for a word in a file and if found remove that line, the above line and the below line from the file.
  • Comment on Re^2: how to check for a word in a file and if found remove that line, the above line and the below line from the file.