sdiff

Compare the differences between and optionally merge 2 files. More information: https://manned.org/sdiff.

sdiff path/to/file1 path/to/file2

sdiff -W path/to/file1 path/to/file2

sdiff -Z path/to/file1 path/to/file2

sdiff -i path/to/file1 path/to/file2

sdiff -o path/to/merged_file path/to/file1 path/to/file2