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