source: clfs-sysroot/BOOK/final-system/common/sed.xml @ 586feb7

Last change on this file since 586feb7 was 586feb7, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated the bootscripts package and make LFS to CLFS updates.

  • Property mode set to 100644
File size: 2.1 KB
Line 
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  </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 \
30    --host=${CLFS_TARGET} --enable-html</userinput></screen>
31
32    <variablelist os="c">
33      <title>The meaning of the new configure option:</title>
34
35      <varlistentry>
36        <term><parameter>--enable-html</parameter></term>
37        <listitem>
38          <para>This option tells Sed to build and install its HTML
39          documentation.</para>
40        </listitem>
41      </varlistentry>
42    </variablelist>
43
44    <para os="d">Compile the package:</para>
45
46<screen os="e"><userinput>make</userinput></screen>
47
48    <para os="f">Install the package:</para>
49
50<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
51
52  </sect2>
53
54  <sect2 id="contents-sed" role="content">
55    <title>Contents of Sed</title>
56
57    <segmentedlist>
58      <segtitle>Installed program</segtitle>
59
60      <seglistitem>
61        <seg>sed</seg>
62      </seglistitem>
63    </segmentedlist>
64
65    <variablelist>
66      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67      <?dbfo list-presentation="list"?>
68      <?dbhtml list-presentation="table"?>
69
70      <varlistentry id="sed">
71        <term><command>sed</command></term>
72        <listitem>
73          <para>Filters and transforms text files in a single pass</para>
74          <indexterm zone="ch-system-sed sed">
75            <primary sortas="b-sed">sed</primary>
76          </indexterm>
77        </listitem>
78      </varlistentry>
79
80    </variablelist>
81
82  </sect2>
83
84</sect1>
Note: See TracBrowser for help on using the repository browser.