title: Unix bash: select rows with unique value in one column, based on value of another column
body: <p>I have a file with two columns that looks something like this:</p>
  
  <pre><code>1 3
  1 4
  2 3
  3 3
  4 3
  4 4
  </code></pre>
  
  <p>I want to make this into a file with unique values in the first columns, and of the duplicate rows only keep the rows with the largest values in the second column, so the new file looks like this:</p>
  
  <pre><code>1 4
  2 3
  3 3
  4 4
  </code></pre>
  
  <p>Any ideas on how to achieve this using bash/awk/etc?</p>