Where diff
compares line by line, uodiff
checks if a given line is in the other file anywhere.
npm i -g uodiff
Given two files:
diff
hi
whats up?
hi
whats up?
difference
uodiff fileA fileB
3 columns
# = linenumber
-/+ = file indicator
content of the line
--- testA
+++ testB
1 - diff
3 + difference