1Another example from Hunt and McIlroy,
2“An Algorithm for Differential File Comparison.”
3https://www.cs.dartmouth.edu/~doug/diff.pdf
4
5Anchored diff gives up on finding anything,
6since there are no unique lines.
7
8-- old --
9a
10b
11c
12a
13b
14b
15a
16-- new --
17c
18a
19b
20a
21b
22c
23-- diff --
24diff old new
25--- old
26+++ new
27@@ -1,7 +1,6 @@
28-a
29-b
30-c
31-a
32-b
33-b
34-a
35+c
36+a
37+b
38+a
39+b
40+c
41