source: final-system/common/sed.xml@ 90729f4

Last change on this file since 90729f4 was dca40f5, 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 
[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,
[0636f6c]27 Grep, Make, Sed, and Texinfo</seg>
[bf8c11f]28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of Sed</title>
35
[dca40f5]36 <para os="a">Prepare Sed for compilation:</para>
[bf8c11f]37
[dca40f5]38<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
[bf8c11f]39
[dca40f5]40 <variablelist os="c">
41 <title>The meaning of the new configure option:</title>
[bf8c11f]42
[dca40f5]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>
[bf8c11f]51
[dca40f5]52 <para os="d">Compile the package:</para>
[bf8c11f]53
[dca40f5]54<screen os="e"><userinput>make</userinput></screen>
[bf8c11f]55
[dca40f5]56 <para os="f">To test the results, issue:
[bf8c11f]57 <userinput>make check</userinput>.</para>
58
[dca40f5]59 <para os="g">Install the package:</para>
[bf8c11f]60
[dca40f5]61<screen os="h"><userinput>make install</userinput></screen>
[bf8c11f]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.