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

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

r2391@server (orig r1193): chris | 2006-02-21 20:23:08 -0800
Updated sed instructions to install HTML docs, and added a few more -v switches

  • 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,
[e3a1e522]27 Grep, Make, Sed, and Texinfo</seg>
[3f8be484]28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of Sed</title>
35
[2df5a38]36 <para os="a">Prepare Sed for compilation:</para>
[3f8be484]37
[2df5a38]38<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
[3f8be484]39
[2df5a38]40 <variablelist os="c">
41 <title>The meaning of the new configure option:</title>
[3f8be484]42
[2df5a38]43 <varlistentry>
44 <term><parameter>--enable-html</parameter></term>
45 <listitem>
46 <para>This option tells Sed to build and install its HTML
47 documentation.</para>
48 </listitem>
49 </varlistentry>
50 </variablelist>
[3f8be484]51
[2df5a38]52 <para os="d">Compile the package:</para>
[3f8be484]53
[2df5a38]54<screen os="e"><userinput>make</userinput></screen>
[3f8be484]55
[2df5a38]56 <para os="f">To test the results, issue:
[3f8be484]57 <userinput>make check</userinput>.</para>
58
[2df5a38]59 <para os="g">Install the package:</para>
[3f8be484]60
[2df5a38]61<screen os="h"><userinput>make install</userinput></screen>
[3f8be484]62
63 </sect2>
64
65 <sect2 id="contents-sed" role="content">
66 <title>Contents of Sed</title>
67
68 <segmentedlist>
69 <segtitle>Installed program</segtitle>
70
71 <seglistitem>
72 <seg>sed</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="sed">
82 <term><command>sed</command></term>
83 <listitem>
84 <para>Filters and transforms text files in a single pass</para>
85 <indexterm zone="ch-system-sed sed">
86 <primary sortas="b-sed">sed</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 </variablelist>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.