source: chapter06/sed.xml@ 734a887

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 8.0 8.0-rc1 8.1 8.1-rc1 8.1-rc2 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 arm cross-chap5 ml-11.0 multilib old-trunk trunk xry111/clfs-ng xry111/git-transition xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack xry111/usr-move
Last change on this file since 734a887 was 734a887, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Some fixes to the sed instructions

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11167 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <sect1info condition="script">
12 <productname>sed</productname>
13 <productnumber>&sed-version;</productnumber>
14 <address>&sed-url;</address>
15 </sect1info>
16
17 <title>Sed-&sed-version;</title>
18
19 <indexterm zone="ch-system-sed">
20 <primary sortas="a-Sed">Sed</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Sed package contains a stream editor.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&sed-ch6-sbu;</seg>
34 <seg>&sed-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Sed</title>
42
43 <para>First fix an issue in the LFS envronment:</para>
44
45<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man</userinput></screen>
46
47 <para>Prepare Sed for compilation:</para>
48
49<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
50
51 <variablelist>
52 <title>The meaning of the new configure option:</title>
53
54 <varlistentry>
55 <term><parameter>--htmldir</parameter></term>
56 <listitem>
57 <para>This sets the installation directory for the HTML documentation.</para>
58 </listitem>
59 </varlistentry>
60 </variablelist>
61
62 <para>Compile the package and generate the HTML documentation:</para>
63
64<screen><userinput remap="make">make
65make html</userinput></screen>
66
67 <para>To test the results, issue:</para>
68
69<screen><userinput remap="test">make check</userinput></screen>
70
71 <para>Install the package and its documentation:</para>
72
73<screen><userinput remap="install">make install</userinput></screen>
74
75 </sect2>
76
77 <sect2 id="contents-sed" role="content">
78 <title>Contents of Sed</title>
79
80 <segmentedlist>
81 <segtitle>Installed program</segtitle>
82 <segtitle>Installed directory</segtitle>
83
84 <seglistitem>
85 <seg>sed</seg>
86 <seg>/usr/share/doc/sed-&sed-version;</seg>
87 </seglistitem>
88 </segmentedlist>
89
90 <variablelist>
91 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
92 <?dbfo list-presentation="list"?>
93 <?dbhtml list-presentation="table"?>
94
95 <varlistentry id="sed">
96 <term><command>sed</command></term>
97 <listitem>
98 <para>Filters and transforms text files in a single pass</para>
99 <indexterm zone="ch-system-sed sed">
100 <primary sortas="b-sed">sed</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 </variablelist>
106
107 </sect2>
108
109</sect1>
Note: See TracBrowser for help on using the repository browser.