source: chapter06/sed.xml@ 6934b62

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 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 6934b62 was cb1280a, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Typo

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

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[3f3931b0]7
[81fd230]8<sect1 id="ch-system-sed" role="wrap">
[3f3931b0]9 <?dbhtml filename="sed.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>sed</productname>
13 <productnumber>&sed-version;</productnumber>
14 <address>&sed-url;</address>
15 </sect1info>
16
[3f3931b0]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/>
[673b0d8]25
[3f3931b0]26 <para>The Sed package contains a stream editor.</para>
[6370fa6]27
[3f3931b0]28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
[5888299]31
[3f3931b0]32 <seglistitem>
[e4a5635]33 <seg>&sed-ch6-sbu;</seg>
34 <seg>&sed-ch6-du;</seg>
[3f3931b0]35 </seglistitem>
36 </segmentedlist>
[a001133]37
[3f3931b0]38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Sed</title>
42
[91cfd9d1]43 <para>Prepare Sed for compilation:</para>
[0c78fca]44
[94e6954]45<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
[0c78fca]46
[91cfd9d1]47 <variablelist>
48 <title>The meaning of the new configure option:</title>
[73aedd1d]49
[91cfd9d1]50 <varlistentry>
[94e6954]51 <term><parameter>--htmldir</parameter></term>
[91cfd9d1]52 <listitem>
[cb1280a]53 <para>This sets the installation directory for the HTML documentation.</para>
[91cfd9d1]54 </listitem>
55 </varlistentry>
56 </variablelist>
[73aedd1d]57
[09fb139a]58 <para>Compile the package and generate the HTML documentation:</para>
[73aedd1d]59
[09fb139a]60<screen><userinput remap="make">make
61make html</userinput></screen>
[94e6954]62
[0445a3d]63 <para>To test the results, issue:</para>
64
65<screen><userinput remap="test">make check</userinput></screen>
[73aedd1d]66
[09fb139a]67 <para>Install the package and its documentation:</para>
[94e6954]68
[09fb139a]69<screen><userinput remap="install">make install
70make -C doc install-html</userinput></screen>
[94e6954]71
[3f3931b0]72 </sect2>
[6370fa6]73
[3f3931b0]74 <sect2 id="contents-sed" role="content">
75 <title>Contents of Sed</title>
[5888299]76
[3f3931b0]77 <segmentedlist>
78 <segtitle>Installed program</segtitle>
[fe05b08]79 <segtitle>Installed directory</segtitle>
[673b0d8]80
[3f3931b0]81 <seglistitem>
82 <seg>sed</seg>
[fe05b08]83 <seg>/usr/share/doc/sed-&sed-version;</seg>
[3f3931b0]84 </seglistitem>
85 </segmentedlist>
[673b0d8]86
[3f3931b0]87 <variablelist>
88 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
89 <?dbfo list-presentation="list"?>
90 <?dbhtml list-presentation="table"?>
[673b0d8]91
[3f3931b0]92 <varlistentry id="sed">
93 <term><command>sed</command></term>
94 <listitem>
95 <para>Filters and transforms text files in a single pass</para>
96 <indexterm zone="ch-system-sed sed">
97 <primary sortas="b-sed">sed</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
[673b0d8]101
[3f3931b0]102 </variablelist>
[673b0d8]103
[3f3931b0]104 </sect2>
[81fd230]105
[3f3931b0]106</sect1>
Note: See TracBrowser for help on using the repository browser.