[3f8be484] | 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 |
|
---|
[2df5a38] | 27 | <para os="a">Prepare Sed for compilation:</para>
|
---|
[3f8be484] | 28 |
|
---|
[2df5a38] | 29 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
[3f8be484] | 30 |
|
---|
[2df5a38] | 31 | <variablelist os="c">
|
---|
| 32 | <title>The meaning of the new configure option:</title>
|
---|
[3f8be484] | 33 |
|
---|
[2df5a38] | 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>
|
---|
[3f8be484] | 42 |
|
---|
[2df5a38] | 43 | <para os="d">Compile the package:</para>
|
---|
[3f8be484] | 44 |
|
---|
[2df5a38] | 45 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 46 |
|
---|
[2df5a38] | 47 | <para os="f">To test the results, issue:
|
---|
[3f8be484] | 48 | <userinput>make check</userinput>.</para>
|
---|
| 49 |
|
---|
[2df5a38] | 50 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 51 |
|
---|
[2df5a38] | 52 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 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>
|
---|