sdiff Command Examples

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

sdiff {{path/to/file1}} {{path/to/file2}}

sdiff {{[-W|--ignore-all-space]}} {{path/to/file1}} {{path/to/file2}}

sdiff {{[-Z|--ignore-trailing-space]}} {{path/to/file1}} {{path/to/file2}}

sdiff {{[-i|--ignore-case]}} {{path/to/file1}} {{path/to/file2}}

sdiff {{[-o|--output]}} {{path/to/merged_file}} {{path/to/file1}} {{path/to/file2}}