6.24. Sed-4.3

The Sed package contains a stream editor.

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

6.24.1. Installation of Sed

First fix an issue in the LFS environment and remove a failing test:

sed -i 's/usr/tools/'       build-aux/help2man
sed -i 's/panic-tests.sh//' Makefile.in

Prepare Sed for compilation:

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

Compile the package and generate the HTML documentation:

make
make html

To test the results, issue:

make check

Install the package and its documentation:

make install
install -d -m755           /usr/share/doc/sed-4.3
install -m644 doc/sed.html /usr/share/doc/sed-4.3

6.24.2. Contents of Sed

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

Short Descriptions

sed

Filters and transforms text files in a single pass