mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
673b0d84ba
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
61 lines
1.4 KiB
XML
61 lines
1.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
%general-entities;
|
|
]>
|
|
<sect1 id="ch-system-sed" xreflabel="Sed">
|
|
<title>Sed-&sed-version;</title>
|
|
<?dbhtml filename="sed.html"?>
|
|
|
|
<indexterm zone="ch-system-sed"><primary sortas="a-Sed">Sed</primary></indexterm>
|
|
|
|
<para>The Sed package contains a stream editor.</para>
|
|
|
|
<screen>&buildtime; 0.2 SBU
|
|
&diskspace; 5.2 MB</screen>
|
|
|
|
<para>Sed installation depends on: Bash, Binutils, Coreutils,
|
|
Diffutils, GCC, Gettext, Glibc, Grep, Make, Texinfo.</para>
|
|
|
|
|
|
|
|
<sect2>
|
|
<title>Installation of Sed</title>
|
|
|
|
<para>Prepare Sed for compilation:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
<para>To test the results, issue:
|
|
<userinput>make check</userinput>.</para>
|
|
|
|
<para>Now install the package:</para>
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-sed"><title>Contents of Sed</title>
|
|
|
|
<para><emphasis>Installed program</emphasis>: sed</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2><title>Short description</title>
|
|
|
|
<indexterm zone="ch-system-sed sed"><primary sortas="b-sed">sed</primary></indexterm>
|
|
<para id="sed"><command>sed</command> is used to filter and transform text files
|
|
in a single pass.</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|