sdiff[options]file1file2
Produce a side-by-side comparison of file1 with file2.
Output is:
text textIdentical lines.
text <Line exists only in file1.
textLine exists only in file2.
text | textLines are different.
List only lines of file1 that are identical.
outfileSend identical lines of
file1 and file2 to outfile;
print line differences and edit outfile
by entering, when prompted, the following commands:
Edit an empty file.
Edit both left and right columns.
Edit left column.
Edit right column.
Append left column to outfile.
Exit the editor.
Append right column to outfile.
Silent mode; do not print identical lines.
Turn off "silent mode."
Do not print identical lines.
nSet line length to n (default is usually 130).