[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[02095ae] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-sed" role="wrap">
|
---|
| 9 | <?dbhtml filename="sed.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Sed-&sed-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-sed">
|
---|
| 14 | <primary sortas="a-Sed">Sed</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Sed package contains a stream editor.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
[12e6567] | 24 | &env-target;
|
---|
| 25 |
|
---|
[02095ae] | 26 | <sect2 role="installation">
|
---|
| 27 | <title>Installation of Sed</title>
|
---|
| 28 |
|
---|
| 29 | <para os="a">Prepare Sed for compilation:</para>
|
---|
| 30 |
|
---|
[cee2ca2] | 31 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 32 | --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
[02095ae] | 33 |
|
---|
| 34 | <variablelist os="c">
|
---|
| 35 | <title>The meaning of the new configure option:</title>
|
---|
| 36 |
|
---|
| 37 | <varlistentry>
|
---|
| 38 | <term><parameter>--enable-html</parameter></term>
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>This option tells Sed to build and install its HTML
|
---|
| 41 | documentation.</para>
|
---|
| 42 | </listitem>
|
---|
| 43 | </varlistentry>
|
---|
| 44 | </variablelist>
|
---|
| 45 |
|
---|
| 46 | <para os="d">Compile the package:</para>
|
---|
| 47 |
|
---|
| 48 | <screen os="e"><userinput>make</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | <para os="f">Install the package:</para>
|
---|
| 51 |
|
---|
[586feb7] | 52 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[02095ae] | 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2 id="contents-sed" role="content">
|
---|
| 57 | <title>Contents of Sed</title>
|
---|
| 58 |
|
---|
| 59 | <segmentedlist>
|
---|
| 60 | <segtitle>Installed program</segtitle>
|
---|
| 61 |
|
---|
| 62 | <seglistitem>
|
---|
| 63 | <seg>sed</seg>
|
---|
| 64 | </seglistitem>
|
---|
| 65 | </segmentedlist>
|
---|
| 66 |
|
---|
| 67 | <variablelist>
|
---|
| 68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 69 | <?dbfo list-presentation="list"?>
|
---|
| 70 | <?dbhtml list-presentation="table"?>
|
---|
| 71 |
|
---|
| 72 | <varlistentry id="sed">
|
---|
| 73 | <term><command>sed</command></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>Filters and transforms text files in a single pass</para>
|
---|
| 76 | <indexterm zone="ch-system-sed sed">
|
---|
| 77 | <primary sortas="b-sed">sed</primary>
|
---|
| 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | </variablelist>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | </sect1>
|
---|