A.23. Diffutils

A.23.1. Contents

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

A.23.2. Description

A.23.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.23.2.2. diff3

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

A.23.2.3. sdiff

sdiff merges two two files and interactively outputs the results.