source: BOOK/final-system/common/sed.xml@ 7805e1b2

Last change on this file since 7805e1b2 was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
File size: 2.2 KB
Line 
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 --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
30
31 <variablelist os="c">
32 <title>The meaning of the new configure option:</title>
33
34 <varlistentry>
35 <term><parameter>--enable-html</parameter></term>
36 <listitem>
37 <para>This option tells Sed to build and install its HTML
38 documentation.</para>
39 </listitem>
40 </varlistentry>
41 </variablelist>
42
43 <para os="d">Compile the package:</para>
44
45<screen os="e"><userinput>make</userinput></screen>
46
47 <para os="f">To test the results, issue:
48 <userinput>make check</userinput>.</para>
49
50 <para os="g">Install the package:</para>
51
52<screen os="h"><userinput>make install</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
62 <seglistitem>
63 <seg>sed</seg>
64 </seglistitem>
65 </segmentedlist>
66
67 <variablelist>
68 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
69 <?dbfo list-presentation="list"?>
70 <?dbhtml list-presentation="table"?>
71
72 <varlistentry id="sed">
73 <term><command>sed</command></term>
74 <listitem>
75 <para>Filters and transforms text files in a single pass</para>
76 <indexterm zone="ch-system-sed sed">
77 <primary sortas="b-sed">sed</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.