title: "non-greedy" diff output?
body: <p>I want a diff output like</p>
  
  <pre><code>- old line 1
  + new line 1
  - old line 2
  + new line 2
  </code></pre>
  
  <p><em>instead</em> of</p>
  
  <pre><code>- old line 1
  - old line 2
  + new line 1
  + new line 2
  </code></pre>
  
  <p>Is there a way to do this with GNU <code>diff</code> and/or other standard programs? <code>--inhibit-hunk-merge</code> looked promising, but it seems to be deprecated.</p>
  
  <p><strong>Context:</strong> I'm comparing two CSV files which differ only in a few columns. I want to</p>
  
  <ul>
  <li>Make sure no other columns are changed</li>
  <li>Compare the changed columns one by one (all rows are changed in those columns)</li>
  </ul>
  
  <p>The plan is to</p>
  
  <ol>
  <li>Transpose the two CSV files so <code>diff</code> can compare columns</li>
  <li><code>diff</code> and check each line in the output</li>
  </ol>
  
  <p>I could use a side-by-side diff, but because each line is quite long, which contains every value for each row, that will be quite a strain on my eyes.</p>