Installing Diffutils

Installation of Diffutils

Install Diffutils by running the following commands:



CPPFLAGS=-Dre_max_failures=re_max_failures2 \
���./configure --prefix=$LFS/usr --disable-nls &&
make LDFLAGS=-static &&
make install

Contents

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

Description

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.

diff3

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

sdiff

sdiff merges two two files and interactively outputs the results.