source: final-system/common/sed.xml @ bf8c11f

Last change on this file since bf8c11f was bf8c11f, checked in by Jim Gifford <clfs@…>, 18 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.7 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  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6  %general-entities;
7  %patches-entities;
8]>
9
10<sect1 id="ch-system-sed" role="wrap">
11  <?dbhtml filename="sed.html"?>
12
13  <title>Sed-&sed-version;</title>
14
15  <indexterm zone="ch-system-sed">
16    <primary sortas="a-Sed">Sed</primary>
17  </indexterm>
18
19  <sect2 role="package">
20    <title/>
21
22    <para>The Sed package contains a stream editor.</para>
23
24    <segmentedlist>
25      <segtitle>&buildtime;</segtitle>
26      <segtitle>&diskspace;</segtitle>
27
28      <seglistitem>
29        <seg>Not checked yet</seg>
30        <seg>Not checked yet</seg>
31      </seglistitem>
32    </segmentedlist>
33
34    <segmentedlist>
35      <segtitle>&dependencies;</segtitle>
36
37      <seglistitem>
38        <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
39        Grep, Make, and Texinfo</seg>
40      </seglistitem>
41    </segmentedlist>
42
43  </sect2>
44
45  <sect2 role="installation">
46    <title>Installation of Sed</title>
47
48    <para os="a">By default, Sed installs its man page in
49    <filename class="directory">/usr/share/doc</filename>. Alter this to
50    <filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
51    applying the following <command>sed</command>:</para>
52
53<screen os="b"><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
54
55    <para os="c">Prepare Sed for compilation:</para>
56
57<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
58
59    <para os="d">Compile the package:</para>
60
61<screen os="e"><userinput>make</userinput></screen>
62
63    <para os="f">To test the results, issue:
64    <userinput>make check</userinput>.</para>
65
66    <para os="g">Install the package:</para>
67
68<screen os="h"><userinput>make install</userinput></screen>
69
70  </sect2>
71
72  <sect2 id="contents-sed" role="content">
73    <title>Contents of Sed</title>
74
75    <segmentedlist>
76      <segtitle>Installed program</segtitle>
77
78      <seglistitem>
79        <seg>sed</seg>
80      </seglistitem>
81    </segmentedlist>
82
83    <variablelist>
84      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
85      <?dbfo list-presentation="list"?>
86      <?dbhtml list-presentation="table"?>
87
88      <varlistentry id="sed">
89        <term><command>sed</command></term>
90        <listitem>
91          <para>Filters and transforms text files in a single pass</para>
92          <indexterm zone="ch-system-sed sed">
93            <primary sortas="b-sed">sed</primary>
94          </indexterm>
95        </listitem>
96      </varlistentry>
97
98    </variablelist>
99
100  </sect2>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.