title: How to use grep to print lines ending with a certain string?
body: <p>I wanted to print all lines from a file containing "FAIL**". I don't wanted any lines with FAILED or FAILURE to be printed. How do I do this? I want to the output to go into another file.</p>
  
  <p>The lines end with this string.</p>