[fcc02767] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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 | <sect1info condition="script">
|
---|
| 12 | <productname>sed</productname>
|
---|
| 13 | <productnumber>&sed-version;</productnumber>
|
---|
| 14 | <address>&sed-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 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/>
|
---|
| 25 |
|
---|
| 26 | <para>The Sed package contains a stream editor.</para>
|
---|
| 27 |
|
---|
| 28 | <segmentedlist>
|
---|
| 29 | <segtitle>&buildtime;</segtitle>
|
---|
| 30 | <segtitle>&diskspace;</segtitle>
|
---|
| 31 |
|
---|
| 32 | <seglistitem>
|
---|
[fb386e0] | 33 | <seg>&sed-fin-sbu;</seg>
|
---|
| 34 | <seg>&sed-fin-du;</seg>
|
---|
[fcc02767] | 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
| 37 |
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Sed</title>
|
---|
| 42 |
|
---|
| 43 | <para>Prepare Sed for compilation:</para>
|
---|
| 44 |
|
---|
[d7a9421] | 45 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[fcc02767] | 46 |
|
---|
| 47 | <para>Compile the package and generate the HTML documentation:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput remap="make">make
|
---|
| 50 | make html</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">chown -Rv tester .
|
---|
| 55 | su tester -c "PATH=$PATH make check"</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para>Install the package and its documentation:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput remap="install">make install
|
---|
| 60 | install -d -m755 /usr/share/doc/sed-&sed-version;
|
---|
| 61 | install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 id="contents-sed" role="content">
|
---|
| 66 | <title>Contents of Sed</title>
|
---|
| 67 |
|
---|
| 68 | <segmentedlist>
|
---|
| 69 | <segtitle>Installed program</segtitle>
|
---|
| 70 | <segtitle>Installed directory</segtitle>
|
---|
| 71 |
|
---|
| 72 | <seglistitem>
|
---|
| 73 | <seg>sed</seg>
|
---|
| 74 | <seg>/usr/share/doc/sed-&sed-version;</seg>
|
---|
| 75 | </seglistitem>
|
---|
| 76 | </segmentedlist>
|
---|
| 77 |
|
---|
| 78 | <variablelist>
|
---|
| 79 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 80 | <?dbfo list-presentation="list"?>
|
---|
| 81 | <?dbhtml list-presentation="table"?>
|
---|
| 82 |
|
---|
| 83 | <varlistentry id="sed">
|
---|
| 84 | <term><command>sed</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>Filters and transforms text files in a single pass</para>
|
---|
| 87 | <indexterm zone="ch-system-sed sed">
|
---|
| 88 | <primary sortas="b-sed">sed</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 93 | </variablelist>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | </sect1>
|
---|