source: BOOK/final-system/common/sed.xml@ c8a83d8

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c8a83d8 was 686839b, checked in by William Harrington <kb0iic@…>, 11 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • Property mode set to 100644
File size: 2.2 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 <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 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Sed</title>
26
27 <para os="a">Prepare Sed for compilation:</para>
28
29<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
30
31 <para os="c">Compile the package:</para>
32
33<screen os="d"><userinput>make</userinput></screen>
34
35 <para os="e"> Build the HTML documentation:</para>
36
37<screen os="f"><userinput>make html</userinput></screen>
38
39 <para os="g">To test the results, issue:</para>
40
41<screen os="g2"><userinput remap="test">make check</userinput></screen>
42
43 <para os="h">Install the package:</para>
44
45<screen os="i"><userinput>make install</userinput></screen>
46
47 <para os="j">Install the HTML documentation:</para>
48
49<screen os="k"><userinput>make -C doc install-html</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-sed" role="content">
54 <title>Contents of Sed</title>
55
56 <segmentedlist>
57 <segtitle>Installed program</segtitle>
58 <segtitle>Installed directory</segtitle>
59
60 <seglistitem>
61 <seg>sed</seg>
62 <seg>/usr/share/doc/sed</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="sed">
72 <term><command>sed</command></term>
73 <listitem>
74 <para>Filters and transforms text files in a single pass</para>
75 <indexterm zone="ch-system-sed sed">
76 <primary sortas="b-sed">sed</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 </variablelist>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.