1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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 | <segmentedlist>
|
---|
23 | <segtitle>&dependencies;</segtitle>
|
---|
24 |
|
---|
25 | <seglistitem>
|
---|
26 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
|
---|
27 | Grep, Make, Sed, and Texinfo</seg>
|
---|
28 | </seglistitem>
|
---|
29 | </segmentedlist>
|
---|
30 |
|
---|
31 | </sect2>
|
---|
32 |
|
---|
33 | <sect2 role="installation">
|
---|
34 | <title>Installation of Sed</title>
|
---|
35 |
|
---|
36 | <para os="a">Prepare Sed for compilation:</para>
|
---|
37 |
|
---|
38 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
39 |
|
---|
40 | <variablelist os="c">
|
---|
41 | <title>The meaning of the new configure option:</title>
|
---|
42 |
|
---|
43 | <varlistentry>
|
---|
44 | <term><parameter>--enable-html</parameter></term>
|
---|
45 | <listitem>
|
---|
46 | <para>This option tells Sed to build and install its HTML
|
---|
47 | documentation.</para>
|
---|
48 | </listitem>
|
---|
49 | </varlistentry>
|
---|
50 | </variablelist>
|
---|
51 |
|
---|
52 | <para os="d">Compile the package:</para>
|
---|
53 |
|
---|
54 | <screen os="e"><userinput>make</userinput></screen>
|
---|
55 |
|
---|
56 | <para os="f">To test the results, issue:
|
---|
57 | <userinput>make check</userinput>.</para>
|
---|
58 |
|
---|
59 | <para os="g">Install the package:</para>
|
---|
60 |
|
---|
61 | <screen os="h"><userinput>make install</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 |
|
---|
71 | <seglistitem>
|
---|
72 | <seg>sed</seg>
|
---|
73 | </seglistitem>
|
---|
74 | </segmentedlist>
|
---|
75 |
|
---|
76 | <variablelist>
|
---|
77 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
78 | <?dbfo list-presentation="list"?>
|
---|
79 | <?dbhtml list-presentation="table"?>
|
---|
80 |
|
---|
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>
|
---|
90 |
|
---|
91 | </variablelist>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | </sect1>
|
---|