[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 |
|
---|
| 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/>
|
---|
[673b0d8] | 19 |
|
---|
[3f3931b0] | 20 | <para>The Sed package contains a stream editor.</para>
|
---|
[6370fa6] | 21 |
|
---|
[3f3931b0] | 22 | <segmentedlist>
|
---|
| 23 | <segtitle>&buildtime;</segtitle>
|
---|
| 24 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 25 |
|
---|
[3f3931b0] | 26 | <seglistitem>
|
---|
[e4a5635] | 27 | <seg>&sed-ch6-sbu;</seg>
|
---|
| 28 | <seg>&sed-ch6-du;</seg>
|
---|
[3f3931b0] | 29 | </seglistitem>
|
---|
| 30 | </segmentedlist>
|
---|
[a001133] | 31 |
|
---|
[3f3931b0] | 32 | </sect2>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="installation">
|
---|
| 35 | <title>Installation of Sed</title>
|
---|
| 36 |
|
---|
[91cfd9d1] | 37 | <para>Prepare Sed for compilation:</para>
|
---|
[0c78fca] | 38 |
|
---|
[91cfd9d1] | 39 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
[0c78fca] | 40 |
|
---|
[91cfd9d1] | 41 | <variablelist>
|
---|
| 42 | <title>The meaning of the new configure option:</title>
|
---|
[73aedd1d] | 43 |
|
---|
[91cfd9d1] | 44 | <varlistentry>
|
---|
| 45 | <term><parameter>--enable-html</parameter></term>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>This builds the HTML documentation.</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | </varlistentry>
|
---|
| 50 | </variablelist>
|
---|
[73aedd1d] | 51 |
|
---|
[3f3931b0] | 52 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 53 |
|
---|
| 54 | <screen><userinput>make</userinput></screen>
|
---|
| 55 |
|
---|
[3f3931b0] | 56 | <para>To test the results, issue:
|
---|
| 57 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 58 |
|
---|
[3f3931b0] | 59 | <para>Install the package:</para>
|
---|
[73aedd1d] | 60 |
|
---|
| 61 | <screen><userinput>make install</userinput></screen>
|
---|
| 62 |
|
---|
[3f3931b0] | 63 | </sect2>
|
---|
[6370fa6] | 64 |
|
---|
[3f3931b0] | 65 | <sect2 id="contents-sed" role="content">
|
---|
| 66 | <title>Contents of Sed</title>
|
---|
[5888299] | 67 |
|
---|
[3f3931b0] | 68 | <segmentedlist>
|
---|
| 69 | <segtitle>Installed program</segtitle>
|
---|
[673b0d8] | 70 |
|
---|
[3f3931b0] | 71 | <seglistitem>
|
---|
| 72 | <seg>sed</seg>
|
---|
| 73 | </seglistitem>
|
---|
| 74 | </segmentedlist>
|
---|
[673b0d8] | 75 |
|
---|
[3f3931b0] | 76 | <variablelist>
|
---|
| 77 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 78 | <?dbfo list-presentation="list"?>
|
---|
| 79 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 80 |
|
---|
[3f3931b0] | 81 | <varlistentry id="sed">
|
---|
| 82 | <term><command>sed</command></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>Filters and transforms text files in a single pass</para>
|
---|
| 85 | <indexterm zone="ch-system-sed sed">
|
---|
| 86 | <primary sortas="b-sed">sed</primary>
|
---|
| 87 | </indexterm>
|
---|
| 88 | </listitem>
|
---|
| 89 | </varlistentry>
|
---|
[673b0d8] | 90 |
|
---|
[3f3931b0] | 91 | </variablelist>
|
---|
[673b0d8] | 92 |
|
---|
[3f3931b0] | 93 | </sect2>
|
---|
[81fd230] | 94 |
|
---|
[3f3931b0] | 95 | </sect1>
|
---|