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 | <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 |
|
---|
27 | <para os="a">Prepare Sed for compilation:</para>
|
---|
28 |
|
---|
29 | <screen os="b"><userinput>./configure \
|
---|
30 | --prefix=/usr \
|
---|
31 | --bindir=/bin \
|
---|
32 | --docdir=/usr/share/doc/sed-&sed-version;</userinput></screen>
|
---|
33 |
|
---|
34 | <para os="c">Compile the package:</para>
|
---|
35 |
|
---|
36 | <screen os="d"><userinput>make</userinput></screen>
|
---|
37 |
|
---|
38 | <para os="e"> Build the HTML documentation:</para>
|
---|
39 |
|
---|
40 | <screen os="f"><userinput>make html</userinput></screen>
|
---|
41 |
|
---|
42 | <para os="g">To test the results, issue:</para>
|
---|
43 |
|
---|
44 | <screen os="g2"><userinput remap="test">make check</userinput></screen>
|
---|
45 |
|
---|
46 | <para os="h">Install the package:</para>
|
---|
47 |
|
---|
48 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
49 |
|
---|
50 | <para os="j">Install the HTML documentation:</para>
|
---|
51 |
|
---|
52 | <screen os="k"><userinput>make install-html-am</userinput></screen>
|
---|
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 | <segtitle>Installed directory</segtitle>
|
---|
62 |
|
---|
63 | <seglistitem>
|
---|
64 | <seg>sed</seg>
|
---|
65 | <seg>/usr/share/doc/sed-&sed-version;</seg>
|
---|
66 | </seglistitem>
|
---|
67 | </segmentedlist>
|
---|
68 |
|
---|
69 | <variablelist>
|
---|
70 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
71 | <?dbfo list-presentation="list"?>
|
---|
72 | <?dbhtml list-presentation="table"?>
|
---|
73 |
|
---|
74 | <varlistentry id="sed">
|
---|
75 | <term><command>sed</command></term>
|
---|
76 | <listitem>
|
---|
77 | <para>Filters and transforms text files in a single pass</para>
|
---|
78 | <indexterm zone="ch-system-sed sed">
|
---|
79 | <primary sortas="b-sed">sed</primary>
|
---|
80 | </indexterm>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | </variablelist>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | </sect1>
|
---|