A.5. Diffutils

A.5.1. Contents

The Diffutils package contains the cmp, diff, diff3 and sdiff programs.

A.5.2. Description

A.5.2.1. cmp and diff

cmp and diff both compare two files and report their differences. Both programs have extra options which compare files in different situations.

A.5.2.2. diff3

The difference between diff and diff3 is that diff compares 2 files, diff3 compares 3 files.

A.5.2.3. sdiff

sdiff merges two files and interactively outputs the results.