8.29. Sed-4.8

The Sed package contains a stream editor.

Approximate build time: 0.5 SBU
Required disk space: 30 MB

8.29.1. Installation of Sed

Update helper scripts to allow compilation on loongarch:

tar xf ../config-20210826.tar.xz --strip-components=1 -C build-aux

Prepare Sed for compilation:

./configure --prefix=/usr

Compile the package and generate the HTML documentation:

make
make html

To test the results, issue:

chown -Rv tester .
su tester -c "PATH=$PATH make check"

Install the package and its documentation:

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

8.29.2. Contents of Sed

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

Short Descriptions

sed

Filters and transforms text files in a single pass