commands.sh

colordiff

all

A wrapper around `diff` that produces the same output but with pretty syntax highlighting. Color schemes can be customized.

More info →

Examples (5)

Compare files

colordiff file1 file2

Output in two columns

colordiff -y file1 file2

Ignore case differences in file contents

colordiff -i file1 file2

Report when two files are the same

colordiff -s file1 file2

Ignore whitespace

colordiff -w file1 file2
made by @shridhargupta | data from tldr-pages