6.18. Sed-4.2.1

The Sed package contains a stream editor.

Approximate build time: 0.2 SBU
Required disk space: 6.7 MB

6.18.1. Installation of Sed

First, fix some regression tests:

patch -Np1 -i ../sed-4.2.1-testsuite_fixes-1.patch

Prepare Sed for compilation:

./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-4.2.1

The meaning of the new configure option:


This sets the directory where the HTML documentation will be installed to.

Compile the package:


Generate the HTML documentation:

make html

To test the results, issue:

make check

Install the package:

make install

Install the HTML documentation:

make -C doc install-html

6.18.2. Contents of Sed

Installed program: sed
Installed directory: /usr/share/doc/sed-4.2.1

Short Descriptions


Filters and transforms text files in a single pass