[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[3f3931b0] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-sed" role="wrap">
|
---|
[3f3931b0] | 9 | <?dbhtml filename="sed.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>sed</productname>
|
---|
| 13 | <productnumber>&sed-version;</productnumber>
|
---|
| 14 | <address>&sed-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[3f3931b0] | 17 | <title>Sed-&sed-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-sed">
|
---|
| 20 | <primary sortas="a-Sed">Sed</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[3f3931b0] | 26 | <para>The Sed package contains a stream editor.</para>
|
---|
[6370fa6] | 27 |
|
---|
[3f3931b0] | 28 | <segmentedlist>
|
---|
| 29 | <segtitle>&buildtime;</segtitle>
|
---|
| 30 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 31 |
|
---|
[3f3931b0] | 32 | <seglistitem>
|
---|
[e4a5635] | 33 | <seg>&sed-ch6-sbu;</seg>
|
---|
| 34 | <seg>&sed-ch6-du;</seg>
|
---|
[3f3931b0] | 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
[a001133] | 37 |
|
---|
[3f3931b0] | 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Sed</title>
|
---|
| 42 |
|
---|
[91cfd9d1] | 43 | <para>Prepare Sed for compilation:</para>
|
---|
[0c78fca] | 44 |
|
---|
[94e6954] | 45 | <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
|
---|
[0c78fca] | 46 |
|
---|
[91cfd9d1] | 47 | <variablelist>
|
---|
| 48 | <title>The meaning of the new configure option:</title>
|
---|
[73aedd1d] | 49 |
|
---|
[91cfd9d1] | 50 | <varlistentry>
|
---|
[94e6954] | 51 | <term><parameter>--htmldir</parameter></term>
|
---|
[91cfd9d1] | 52 | <listitem>
|
---|
[94e6954] | 53 | <para>This sets the directory where the HTML documentation will be
|
---|
| 54 | installed to.</para>
|
---|
[91cfd9d1] | 55 | </listitem>
|
---|
| 56 | </varlistentry>
|
---|
| 57 | </variablelist>
|
---|
[73aedd1d] | 58 |
|
---|
[3f3931b0] | 59 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 60 |
|
---|
[0445a3d] | 61 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 62 |
|
---|
[94e6954] | 63 | <para>Generate the HTML documentation:</para>
|
---|
| 64 |
|
---|
| 65 | <screen><userinput remap="make">make html</userinput></screen>
|
---|
| 66 |
|
---|
[0445a3d] | 67 | <para>To test the results, issue:</para>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[73aedd1d] | 70 |
|
---|
[3f3931b0] | 71 | <para>Install the package:</para>
|
---|
[73aedd1d] | 72 |
|
---|
[0445a3d] | 73 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 74 |
|
---|
[94e6954] | 75 | <para>Install the HTML documentation:</para>
|
---|
| 76 |
|
---|
| 77 | <screen><userinput remap="install">make -C doc install-html</userinput></screen>
|
---|
| 78 |
|
---|
[3f3931b0] | 79 | </sect2>
|
---|
[6370fa6] | 80 |
|
---|
[3f3931b0] | 81 | <sect2 id="contents-sed" role="content">
|
---|
| 82 | <title>Contents of Sed</title>
|
---|
[5888299] | 83 |
|
---|
[3f3931b0] | 84 | <segmentedlist>
|
---|
| 85 | <segtitle>Installed program</segtitle>
|
---|
[fe05b08] | 86 | <segtitle>Installed directory</segtitle>
|
---|
[673b0d8] | 87 |
|
---|
[3f3931b0] | 88 | <seglistitem>
|
---|
| 89 | <seg>sed</seg>
|
---|
[fe05b08] | 90 | <seg>/usr/share/doc/sed-&sed-version;</seg>
|
---|
[3f3931b0] | 91 | </seglistitem>
|
---|
| 92 | </segmentedlist>
|
---|
[673b0d8] | 93 |
|
---|
[3f3931b0] | 94 | <variablelist>
|
---|
| 95 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 96 | <?dbfo list-presentation="list"?>
|
---|
| 97 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 98 |
|
---|
[3f3931b0] | 99 | <varlistentry id="sed">
|
---|
| 100 | <term><command>sed</command></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Filters and transforms text files in a single pass</para>
|
---|
| 103 | <indexterm zone="ch-system-sed sed">
|
---|
| 104 | <primary sortas="b-sed">sed</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
[673b0d8] | 108 |
|
---|
[3f3931b0] | 109 | </variablelist>
|
---|
[673b0d8] | 110 |
|
---|
[3f3931b0] | 111 | </sect2>
|
---|
[81fd230] | 112 |
|
---|
[3f3931b0] | 113 | </sect1>
|
---|