source: final-system/common/sed.xml@ 75a132b

Last change on this file since 75a132b was e87810e, checked in by Jim Gifford <clfs@…>, 19 years ago

r820@server (orig r818): ken | 2005-12-03 15:50:04 -0800
further text correction from LFS

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[bf8c11f]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, and Texinfo</seg>
28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of Sed</title>
35
[e87810e]36 <para os="a">By default, Sed installs its HTML documentation in
[bf8c11f]37 <filename class="directory">/usr/share/doc</filename>. Alter this to
38 <filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
39 applying the following <command>sed</command>:</para>
40
41<screen os="b"><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
42
43 <para os="c">Prepare Sed for compilation:</para>
44
[e6423a01]45<screen os="d"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
[bf8c11f]46
[e6423a01]47 <para os="e">Compile the package:</para>
[bf8c11f]48
[e6423a01]49<screen os="f"><userinput>make</userinput></screen>
[bf8c11f]50
[e6423a01]51 <para os="g">To test the results, issue:
[bf8c11f]52 <userinput>make check</userinput>.</para>
53
[e6423a01]54 <para os="h">Install the package:</para>
[bf8c11f]55
[e6423a01]56<screen os="i"><userinput>make install</userinput></screen>
[bf8c11f]57
58 </sect2>
59
60 <sect2 id="contents-sed" role="content">
61 <title>Contents of Sed</title>
62
63 <segmentedlist>
64 <segtitle>Installed program</segtitle>
65
66 <seglistitem>
67 <seg>sed</seg>
68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="sed">
77 <term><command>sed</command></term>
78 <listitem>
79 <para>Filters and transforms text files in a single pass</para>
80 <indexterm zone="ch-system-sed sed">
81 <primary sortas="b-sed">sed</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.