- data_diff(+Data1, +Data2, -UDiff) is det
- Diff two data strings line-by-line. UDiff is a list of terms of
the form below, where L1 and L2 provide the starting line in
Data1 and Data2 and S1 and S2 provide the number of affected
lines.
udiff(L1,S1,L2,S2,Diff)
Diff is a list holding
- + Line
- Line was added to Data1 to get Data2
- - Line
- Line was deleted from Data1 to get Data2
- Line1 - Line2
- Line was replaced
- =(Line)
- Line is identical (context line).