[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[529c103] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[529c103] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-sed" role="wrap">
|
---|
[529c103] | 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/>
|
---|
[673b0d8] | 19 |
|
---|
[529c103] | 20 | <para>The Sed package contains a stream editor.</para>
|
---|
[6370fa6] | 21 |
|
---|
[529c103] | 22 | <segmentedlist>
|
---|
| 23 | <segtitle>&buildtime;</segtitle>
|
---|
| 24 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 25 |
|
---|
[529c103] | 26 | <seglistitem>
|
---|
| 27 | <seg>0.2 SBU</seg>
|
---|
[851829a] | 28 | <seg>7.9 MB</seg>
|
---|
[529c103] | 29 | </seglistitem>
|
---|
| 30 | </segmentedlist>
|
---|
[a001133] | 31 |
|
---|
[529c103] | 32 | <segmentedlist>
|
---|
| 33 | <segtitle>&dependencies;</segtitle>
|
---|
[73aedd1d] | 34 |
|
---|
[529c103] | 35 | <seglistitem>
|
---|
| 36 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
|
---|
| 37 | Grep, Make, Sed, and Texinfo</seg>
|
---|
| 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
[73aedd1d] | 40 |
|
---|
[529c103] | 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Sed</title>
|
---|
| 45 |
|
---|
[851829a] | 46 | <para>Prepare Sed for compilation:</para>
|
---|
[0c78fca] | 47 |
|
---|
[851829a] | 48 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
|
---|
[0c78fca] | 49 |
|
---|
[851829a] | 50 | <variablelist>
|
---|
| 51 | <title>The meaning of the new configure option:</title>
|
---|
[73aedd1d] | 52 |
|
---|
[851829a] | 53 | <varlistentry>
|
---|
| 54 | <term><parameter>--enable-html</parameter></term>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>This builds the HTML documentation.</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </varlistentry>
|
---|
| 59 | </variablelist>
|
---|
[73aedd1d] | 60 |
|
---|
[529c103] | 61 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 62 |
|
---|
| 63 | <screen><userinput>make</userinput></screen>
|
---|
| 64 |
|
---|
[529c103] | 65 | <para>To test the results, issue:
|
---|
| 66 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 67 |
|
---|
[529c103] | 68 | <para>Install the package:</para>
|
---|
[73aedd1d] | 69 |
|
---|
| 70 | <screen><userinput>make install</userinput></screen>
|
---|
| 71 |
|
---|
[529c103] | 72 | </sect2>
|
---|
[6370fa6] | 73 |
|
---|
[529c103] | 74 | <sect2 id="contents-sed" role="content">
|
---|
| 75 | <title>Contents of Sed</title>
|
---|
[5888299] | 76 |
|
---|
[529c103] | 77 | <segmentedlist>
|
---|
| 78 | <segtitle>Installed program</segtitle>
|
---|
[673b0d8] | 79 |
|
---|
[529c103] | 80 | <seglistitem>
|
---|
| 81 | <seg>sed</seg>
|
---|
| 82 | </seglistitem>
|
---|
| 83 | </segmentedlist>
|
---|
[673b0d8] | 84 |
|
---|
[529c103] | 85 | <variablelist>
|
---|
| 86 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 87 | <?dbfo list-presentation="list"?>
|
---|
| 88 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 89 |
|
---|
[529c103] | 90 | <varlistentry id="sed">
|
---|
| 91 | <term><command>sed</command></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>Filters and transforms text files in a single pass</para>
|
---|
| 94 | <indexterm zone="ch-system-sed sed">
|
---|
| 95 | <primary sortas="b-sed">sed</primary>
|
---|
| 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
[673b0d8] | 99 |
|
---|
[529c103] | 100 | </variablelist>
|
---|
[673b0d8] | 101 |
|
---|
[529c103] | 102 | </sect2>
|
---|
[81fd230] | 103 |
|
---|
[529c103] | 104 | </sect1>
|
---|