On 2025-05-03 11:24:10 +0200, Vincent Lefevre wrote: > On 2025-05-03 01:12:44 -0700, Robert Webb wrote: > > Long lines - Use 'less -S' :-) > > Well, be careful that the difference between the lines are at the end. > I generated the files with "lorem -p 5" as the goal was to generate > 5 paragraphs (and there is no way to get shorter paragraphs), and > slightly editing them. I now think that "lorem -s 5" (to generate > 5 sentences in a single paragraph) would have been better here since > I had to add blank lines for the testcase anyway. Here's a new version of the testcase, with files having short lines. Note: To obtain file-ok.diff, I first added a character in the first empty line of "file2", generated the diff with "diff -u" (with the added character, the issue with the first common empty lines disappears, so that the diff is good), then removed the character from the generated diff. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)