sdiff — Print, Side-by-Side, Differences Between Two Files
Synopsis
/usr/bin/sdiff [-l][-s][-o output][-w n] filename1 filename2
Description
The sdiff command uses the output of the diff command to produce a side-by-side listing of two files, indicating lines that are different.
Differences are shown in the following ways.
A blank gutter is printed between the lines if they are identical.
A < is shown in the gutter if the line appears only in filename1 .
A > is shown in the gutter if the line appears only in filename2 .
A ! is shown between the lines if they are different.
Options
-l | Print only the left side of any lines that are identical. | |
-s | Do not print identical lines. | |
-o output | Use the output argument as the name of a third file that ... |
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.