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">
8 <sect1 id="ch-system-sed" role="wrap">
9 <?dbhtml filename="sed.html"?>
11 <sect1info condition="script">
12 <productname>sed</productname>
13 <productnumber>&sed-version;</productnumber>
14 <address>&sed-url;</address>
17 <title>Sed-&sed-version;</title>
19 <indexterm zone="ch-system-sed">
20 <primary sortas="a-Sed">Sed</primary>
23 <sect2 role="package">
26 <para>The Sed package contains a stream editor.</para>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
33 <seg>&sed-ch6-sbu;</seg>
34 <seg>&sed-ch6-du;</seg>
40 <sect2 role="installation">
41 <title>Installation of Sed</title>
43 <para>Prepare Sed for compilation:</para>
45 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
48 <title>The meaning of the new configure option:</title>
51 <term><parameter>--htmldir</parameter></term>
53 <para>This sets the installation directory for the HTML documentation.</para>
58 <para>Compile the package and generate the HTML documentation:</para>
60 <screen><userinput remap="make">make
61 make html</userinput></screen>
63 <para>To test the results, issue:</para>
65 <screen><userinput remap="test">make check</userinput></screen>
67 <para>Install the package and its documentation:</para>
69 <screen><userinput remap="install">make install
70 make -C doc install-html</userinput></screen>
74 <sect2 id="contents-sed" role="content">
75 <title>Contents of Sed</title>
78 <segtitle>Installed program</segtitle>
79 <segtitle>Installed directory</segtitle>
83 <seg>/usr/share/doc/sed-&sed-version;</seg>
88 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
89 <?dbfo list-presentation="list"?>
90 <?dbhtml list-presentation="table"?>
92 <varlistentry id="sed">
93 <term><command>sed</command></term>
95 <para>Filters and transforms text files in a single pass</para>
96 <indexterm zone="ch-system-sed sed">
97 <primary sortas="b-sed">sed</primary>