Diff Utils (2.7):
ftp://ftp.gnu.org/gnu/diffutils/
cmp, diff, diff3 and sdiff
cmp and diff both compare two files and report their differences. Both programs have extra options which compare files in different situations.
The difference between diff and diff3 is that diff compares 2 files, diff3 compares 3 files.
sdiff merges two files and interactively outputs the results.
Diffutils-2.7 needs the following to be installed:
bash: sh
binutils: ld, as
diffutils: cmp
fileutils: chmod, cp, install, mv, rm
gcc: cc1, collect2, cpp0, gcc
grep: egrep, grep
make: make
sed: sed
sh-utils: date, hostname
textutils: cat, tr