6.28. Sed-4.1.4

The Sed package contains a stream editor.

Approximate build time: 0.2 SBU
Required disk space: 8.4 MB
Installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, and Texinfo

6.28.1. Installation of Sed

By default, Sed installs its HTML documentation in /usr/share/doc. Alter this to /usr/share/doc/sed-4.1.4 by applying the following sed:

sed -i 's@/doc@&/sed-4.1.4@' doc/Makefile.in

Prepare Sed for compilation:

./configure --prefix=/usr --bindir=/bin

Compile the package:


To test the results, issue: make check.

Install the package:

make install

6.28.2. Contents of Sed

Installed program: sed

Short Descriptions


Filters and transforms text files in a single pass