title: Bash output the line with highest value
body: <p>my question is pretty much like <a href="https://stackoverflow.com/questions/5429840/bash-eliminate-duplicate-lines">this one</a> but with one difference; i want the output the line that has highest score on the 3rd tab. my data is like:</p>
  
  <pre><code>1.gui  Qxx  16
  2.gui  Qxy  23
  3.guT  QWS  11
  </code></pre>
  
  <p>and i want to get this:</p>
  
  <pre><code>1.gui  Qxy  23
  3.guT  QWS  11
  </code></pre>
  
  <p>I used:</p>
  
  <pre><code>cat file.f | uniq | cut -d" " -f3 | sort | uniq -d &gt;&gt;out.f
  </code></pre>
  
  <p>but did not get what i want!?</p>