CmdID

CmdID / Commands

sdiff

Compare the differences between and optionally merge 2 files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Compare 2 files

sdiff path/to/file1 path/to/file2Identify

Compare 2 files, ignoring all tabs and whitespace

sdiff --ignore-all-space path/to/file1 path/to/file2Identify

Compare 2 files, ignoring whitespace at the end of lines

sdiff --ignore-trailing-space path/to/file1 path/to/file2Identify

Compare 2 files in a case-insensitive manner

sdiff --ignore-case path/to/file1 path/to/file2Identify

Compare and then merge, writing the output to a new file

sdiff --output path/to/merged_file path/to/file1 path/to/file2Identify