source: BOOK/final-system/common/sed.xml@ 36f408e1

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 36f408e1 was 3373dd11, checked in by Jim Gifford <clfs@…>, 19 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

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