Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • To make sure I understand this: if you were to swap file1 and file2, would all XaY become YdX, XcY become YcX, and XdY become YaX? Commented Oct 28, 2020 at 4:23
  • @BallpointBen more likely the differences listed will change in order. It's much easier to understand if you just create a couple of files to play with. Commented Oct 28, 2020 at 12:20
  • The last panel is a very good summary. I however noticed that diff tends to "c" things instead of using "a" : if you add 10 lines on file 1 before line N, and modify also the line N slightly: instead of having 2 changes ( N-11,N-1aN NcN) there is only 1 ( N-11,NcN) Commented Jan 17 at 9:43