[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 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 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Sed</title>
|
---|
| 26 |
|
---|
[dca40f5] | 27 | <para os="a">Prepare Sed for compilation:</para>
|
---|
[bf8c11f] | 28 |
|
---|
[dca40f5] | 29 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
[bf8c11f] | 30 |
|
---|
[dca40f5] | 31 | <variablelist os="c">
|
---|
| 32 | <title>The meaning of the new configure option:</title>
|
---|
[bf8c11f] | 33 |
|
---|
[dca40f5] | 34 | <varlistentry>
|
---|
| 35 | <term><parameter>--enable-html</parameter></term>
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>This option tells Sed to build and install its HTML
|
---|
| 38 | documentation.</para>
|
---|
| 39 | </listitem>
|
---|
| 40 | </varlistentry>
|
---|
| 41 | </variablelist>
|
---|
[bf8c11f] | 42 |
|
---|
[dca40f5] | 43 | <para os="d">Compile the package:</para>
|
---|
[bf8c11f] | 44 |
|
---|
[dca40f5] | 45 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[bf8c11f] | 46 |
|
---|
[dca40f5] | 47 | <para os="f">To test the results, issue:
|
---|
[bf8c11f] | 48 | <userinput>make check</userinput>.</para>
|
---|
| 49 |
|
---|
[dca40f5] | 50 | <para os="g">Install the package:</para>
|
---|
[bf8c11f] | 51 |
|
---|
[dca40f5] | 52 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[bf8c11f] | 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>
|
---|