source: chapter06/sed.xml@ 1a89152

Last change on this file since 1a89152 was 1a89152, checked in by Jeremy Huntwork <jhuntwork@…>, 18 years ago

Update dependency information. Thanks Chris Staub.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7244 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-sed" role="wrap">
7<title>Sed-&sed-version;</title>
8<?dbhtml filename="sed.html"?>
9
10<indexterm zone="ch-system-sed"><primary sortas="a-Sed">Sed</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Sed package contains a stream editor.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.2 SBU</seg><seg>8.4 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>&dependencies;</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
24Glibc, Grep, Make, Sed, and Texinfo</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Sed</title>
30
31<para>By default, Sed installs its HTML documentation in
32<filename class="directory">/usr/share/doc</filename>. Alter this to
33<filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
34applying the following <command>sed</command>:</para>
35
36<screen><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
37
38<para>Prepare Sed for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
41
42<para>Compile the package:</para>
43
44<screen><userinput>make</userinput></screen>
45
46<para>To test the results, issue:
47<userinput>make check</userinput>.</para>
48
49<para>Install the package:</para>
50
51<screen><userinput>make install</userinput></screen>
52
53</sect2>
54
55
56<sect2 id="contents-sed" role="content"><title>Contents of Sed</title>
57
58<segmentedlist>
59<segtitle>Installed program</segtitle>
60<seglistitem><seg>sed</seg></seglistitem>
61</segmentedlist>
62
63<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
64<?dbfo list-presentation="list"?>
65<?dbhtml list-presentation="table"?>
66
67<varlistentry id="sed">
68<term><command>sed</command></term>
69<listitem>
70<para>Filters and transforms text files in a single pass</para>
71<indexterm zone="ch-system-sed sed"><primary sortas="b-sed">sed</primary></indexterm>
72</listitem>
73</varlistentry>
74</variablelist>
75
76</sect2>
77
78</sect1>
79
Note: See TracBrowser for help on using the repository browser.