title: Filtering the lines in a file
body: <p>I want to remove the lines from a file which having the word <code>info</code> and not having the word <code>LogUtil</code>.</p>
  
  <p><code>sample.txt</code> looks like this:</p>
  
  <pre><code>this is debug and SparkUtil class
  this is info and LogUtil class
  this is info with SparkUtil class
  this is error and LogUtil class
  this is info and RuleUtil class
  this is warn and LogUtil class
  </code></pre>
  
  <p>The desired output looks like this:</p>
  
  <pre><code>this is debug and SparkUtil class
  this is info and LogUtil class
  this is error and LogUtil class
  this is warn and LogUtil class
  </code></pre>
  
  <p>Any shell command would suffice.</p>