5.26. Sed-4.1.5

The Sed package contains a stream editor.

User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/sed

5.26.1. Installation of Sed

Prepare Sed for compilation:

./configure --prefix=/tools --without-included-regex

The meaning of the configure option:

--without-included-regex

Sed prefers to use its own regex routines by default, for wider portability, but we have these routines in libc and do not need the included version. This also removes a warning about redefining __mempcpy.

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 6.13.2, “Contents of Sed.”