sed.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. <sect1 id="ch-system-sed" role="wrap">
  8. <?dbhtml filename="sed.html"?>
  9. <sect1info condition="script">
  10. <productname>sed</productname>
  11. <productnumber>&sed-version;</productnumber>
  12. <address>&sed-url;</address>
  13. </sect1info>
  14. <title>Sed-&sed-version;</title>
  15. <indexterm zone="ch-system-sed">
  16. <primary sortas="a-Sed">Sed</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Sed package contains a stream editor.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&sed-fin-sbu;</seg>
  26. <seg>&sed-fin-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Sed</title>
  32. <para>Prepare Sed for compilation:</para>
  33. <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
  34. <para>Compile the package and generate the HTML documentation:</para>
  35. <screen><userinput remap="make">make
  36. make html</userinput></screen>
  37. <para>To test the results, issue:</para>
  38. <screen><userinput remap="test">chown -Rv tester .
  39. su tester -c "PATH=$PATH make check"</userinput></screen>
  40. <para>Install the package and its documentation:</para>
  41. <screen><userinput remap="install">make install
  42. install -d -m755 /usr/share/doc/sed-&sed-version;
  43. install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-sed" role="content">
  46. <title>Contents of Sed</title>
  47. <segmentedlist>
  48. <segtitle>Installed program</segtitle>
  49. <segtitle>Installed directory</segtitle>
  50. <seglistitem>
  51. <seg>sed</seg>
  52. <seg>/usr/share/doc/sed-&sed-version;</seg>
  53. </seglistitem>
  54. </segmentedlist>
  55. <variablelist>
  56. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  57. <?dbfo list-presentation="list"?>
  58. <?dbhtml list-presentation="table"?>
  59. <varlistentry id="sed">
  60. <term><command>sed</command></term>
  61. <listitem>
  62. <para>Filters and transforms text files in a single pass</para>
  63. <indexterm zone="ch-system-sed sed">
  64. <primary sortas="b-sed">sed</primary>
  65. </indexterm>
  66. </listitem>
  67. </varlistentry>
  68. </variablelist>
  69. </sect2>
  70. </sect1>