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