source: chapter06/sed.xml@ 0c78fca

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 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0c78fca was 0c78fca, checked in by Matthew Burgess <matthew@…>, 19 years ago

Install sed's man page to /usr/share/doc/sed-4.1.4 instead of /usr/share/doc

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

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-system-sed" role="wrap">
9<title>Sed-&sed-version;</title>
10<?dbhtml filename="sed.html"?>
11
12<indexterm zone="ch-system-sed"><primary sortas="a-Sed">Sed</primary></indexterm>
13
14<sect2 role="package"><title/>
15<para>The Sed package contains a stream editor.</para>
16
17<segmentedlist>
18<segtitle>&buildtime;</segtitle>
19<segtitle>&diskspace;</segtitle>
20<seglistitem><seg>0.2 SBU</seg><seg>8.4 MB</seg></seglistitem>
21</segmentedlist>
22
23<segmentedlist>
24<segtitle>&dependencies;</segtitle>
25<seglistitem><seg>Bash, Binutils, Coreutils,
26Diffutils, GCC, Gettext, Glibc, Grep, Make, and Texinfo</seg></seglistitem>
27</segmentedlist>
28</sect2>
29
30<sect2 role="installation">
31<title>Installation of Sed</title>
32
33<para>By default, Sed installs its man page in
34<filename class="directory">/usr/share/doc</filename>. Alter this to
35<filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
36applying the following <command>sed</command>:</para>
37
38<screen><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
39
40<para>Prepare Sed for compilation:</para>
41
42<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
43
44<para>Compile the package:</para>
45
46<screen><userinput>make</userinput></screen>
47
48<para>To test the results, issue:
49<userinput>make check</userinput>.</para>
50
51<para>Install the package:</para>
52
53<screen><userinput>make install</userinput></screen>
54
55</sect2>
56
57
58<sect2 id="contents-sed" role="content"><title>Contents of Sed</title>
59
60<segmentedlist>
61<segtitle>Installed program</segtitle>
62<seglistitem><seg>sed</seg></seglistitem>
63</segmentedlist>
64
65<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
66<?dbfo list-presentation="list"?>
67<?dbhtml list-presentation="table"?>
68
69<varlistentry id="sed">
70<term><command>sed</command></term>
71<listitem>
72<para>Filters and transforms text files in a single pass</para>
73<indexterm zone="ch-system-sed sed"><primary sortas="b-sed">sed</primary></indexterm>
74</listitem>
75</varlistentry>
76</variablelist>
77
78</sect2>
79
80</sect1>
81
Note: See TracBrowser for help on using the repository browser.