Suppose I have file
Hello, I like cake.
Hello, I like turtles.
go away, I don't like you
I suspect the difference between
b.txt is quantifiable. For example, one could say that characters 15-18 are deleted, and the string
turtles is inserted.
Now, I would like to calculate this change and then apply it to
c.txt, which would result in:
go away, I donturtlesike you
git uses an analogous approach to track changes in a repository, apply stashes and so forth. I am looking for something with that level of generality. What is this called in software engineering?