title: Is there an easy way to remove duplicate fields in a CSV?
body: <p>I have a CSV that has dates and names, I want to sort out duplicate dates, but leave all the names by using bash tools.  Eg:</p>
  
  <p>Input CSV:</p>
  
  <pre><code>01/01/1960,"Torvalds, Linus"
  01/01/1960,"Gates, Bill"
  04/20/1960,"Woz, Steve"
  </code></pre>
  
  <p>Output CSV:</p>
  
  <pre><code>01/01/1960,"Torvalds, Linus"
  ,"Gates, Bill"
  04/20/1960,"Woz, Steve"
  </code></pre>
  
  <p>I know I could do this using loops and line numbers, but I'm wondering if there's a better way.  Perhaps using sort or uniq?</p>