The Sed package contains a stream editor.
User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/sed
Auditor Notes: Sed uses temporary files with the --in-place and -i
options. This is controled in the ck_mkstemp function in the lib/utils.c file. The “tmpdir” variable is set by the TMPDIR and TMP shell
environment variables, at run time, and if neither are set then
/tmp is used. Alternatively, setting
-DP_tmpdir="/another_tmp" in CFLAGS
will replace the hard coded value for /tmp.
Prepare Sed for compilation:
./configure --prefix=/usr --bindir=/bin --enable-html \
--without-included-regex
The meaning of the new configure option:
--enable-html
This builds the HTML documentation.
Compile the package:
make
To test the results, issue: make
check.
Install the package:
make install