source: BOOK/final-system/common/sed.xml@ 12d030c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 12d030c was e0e40d3, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[3f8be484]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
36 <para os="a">By default, Sed installs its man page in
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
[e0e40d3]45<screen os="d"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
[3f8be484]46
[e0e40d3]47 <para os="e">Compile the package:</para>
[3f8be484]48
[e0e40d3]49<screen os="f"><userinput>make</userinput></screen>
[3f8be484]50
[e0e40d3]51 <para os="g">To test the results, issue:
[3f8be484]52 <userinput>make check</userinput>.</para>
53
[e0e40d3]54 <para os="h">Install the package:</para>
[3f8be484]55
[e0e40d3]56<screen os="i"><userinput>make install</userinput></screen>
[3f8be484]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.