sdiff
[options] file1 file2Produce a side-by-side comparison of file1 with file2. Output is:
Identical lines.
<
Line that exists only in file1.
>
textLine that exists only in file2.
Lines that are different.
-l
List only lines of file1 that are identical.
-o
outfileSend identical lines of file1 and file2 to outfile; print line differences and edit outfile by entering, when prompted, the following commands:
e | Edit an empty file. |
e b | Edit both left and right columns. |
e l | Edit left column. |
e r | Edit right column. |
l | Append left column to outfile. |
q | Exit the editor. |
r | Append right column to outfile. |
s | Silent mode; do not print identical lines. |
v | Turn off "silent mode." |
-s
Do not print identical lines.
-w
nSet line length to n (default is 130).