Installing Sed

Installation of Sed

Install Sed by running the following commands:



root:sed-3.02# CPPFLAGS=-Dre_max_failures=re_max_failures2 \
> ./configure --prefix=/usr --disable-nls
root:sed-3.02# make LDFLAGS=-static
root:sed-3.02# make prefix=$LFS/usr install
root:sed-3.02# mv $LFS/usr/bin/sed $LFS/bin

Contents

The Sed package contains the sed program.

Description

sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline).