title: ignoring empty lines and perform sdiff
body: <pre><code>sdiff "$t1" "$t2" | grep -c  '[&gt;]'
  </code></pre>
  
  <p>THis command only works if there are no empty lines in the second file. How can I change it so that it ignores the empty lines from both file1 and file2 and perform <code>sdiff</code>.</p>