Something went wrong. Try again.
A pure Go text diff library
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041# Another example from Hunt and McIlroy,# “An Algorithm for Differential File Comparison.”# https://www.cs.dartmouth.edu/~doug/diff.pdf
# Anchored diff gives up on finding anything,# since there are no unique lines.
-- old --abcabba-- new --cababc-- diff --diff old new--- old+++ new@@ -1,7 +1,6 @@- a- b- c- a- b- b- a+ c+ a+ b+ a+ b+ c