diff3
[
options
]
file1
file2 file3
Compare three files and report the differences with
the following codes:
-
====
-
All three files differ.
-
====1
-
file1
is different.
-
====2
-
file2
is different.
-
====3
-
file3
is different.
-
-e
-
Create an ed script to incorporate into
file1
all differences between
file2
and
file3
.
-
-E
-
Same as
-e
, but
mark with angle brackets any lines that differ between all three files.
-
-x
-
Create an ed script to incorporate into
file1
all
differences between all three files.
-
-X
-
Same as
-x
, but
mark with angle brackets any lines that differ between all three files.
-
-3
-
Create an ed script to incorporate into
file1
differences between
file1
and
file3
.