source: chapter06/sed.xml@ 0e9d60e

multilib-10.1
Last change on this file since 0e9d60e was 0e9d60e, checked in by Thomas Trepl <thomas@…>, 4 years ago

MultiLib: Merge changes up to 11872

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[1fa2099]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
[777c890]43 <para>First fix an issue in the LFS environment:</para>
[1fa2099]44
[777c890]45<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man</userinput></screen>
[1fa2099]46
47 <para>Prepare Sed for compilation:</para>
48
49<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
[777c890]50
[1fa2099]51 <para>Compile the package and generate the HTML documentation:</para>
52
53<screen><userinput remap="make">make
54make html</userinput></screen>
55
56 <para>To test the results, issue:</para>
57
[777c890]58<screen><userinput remap="test">chown -Rv tester .
[0e9d60e]59su tester -c "PATH=$PATH make check"</userinput></screen>
[1fa2099]60
61 <para>Install the package and its documentation:</para>
62
63<screen><userinput remap="install">make install
64install -d -m755 /usr/share/doc/sed-&sed-version;
65install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
66
67 </sect2>
68
69 <sect2 id="contents-sed" role="content">
70 <title>Contents of Sed</title>
71
72 <segmentedlist>
73 <segtitle>Installed program</segtitle>
74 <segtitle>Installed directory</segtitle>
75
76 <seglistitem>
77 <seg>sed</seg>
78 <seg>/usr/share/doc/sed-&sed-version;</seg>
79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="sed">
88 <term><command>sed</command></term>
89 <listitem>
90 <para>Filters and transforms text files in a single pass</para>
91 <indexterm zone="ch-system-sed sed">
92 <primary sortas="b-sed">sed</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 </variablelist>
98
99 </sect2>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.