6.7. Sed-4.1.5

The Sed package contains a stream editor.

6.7.1. Installation of Sed

Prepare Sed for compilation:

./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --prefix=/usr --bindir=/bin --enable-html

The meaning of the new configure option:


This option tells Sed to build and install its HTML documentation.

Compile the package:


Install the package:

make DESTDIR=${CLFS} install

6.7.2. Contents of Sed

Installed program: sed

Short Descriptions


Filters and transforms text files in a single pass