gawk.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-gawk" role="wrap">
  8. <?dbhtml filename="gawk.html"?>
  9. <sect1info condition="script">
  10. <productname>gawk</productname>
  11. <productnumber>&gawk-version;</productnumber>
  12. <address>&gawk-url;</address>
  13. </sect1info>
  14. <title>Gawk-&gawk-version;</title>
  15. <indexterm zone="ch-system-gawk">
  16. <primary sortas="a-Gawk">Gawk</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Gawk package contains programs for manipulating text files.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&gawk-fin-sbu;</seg>
  26. <seg>&gawk-fin-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Gawk</title>
  32. <para>First, ensure some unneeded files are not installed:</para>
  33. <screen><userinput remap="pre">sed -i 's/extras//' Makefile.in</userinput></screen>
  34. <para>Prepare Gawk for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>To test the results, issue:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">make install</userinput></screen>
  42. <para>If desired, install the documentation:</para>
  43. <screen><userinput remap="install">mkdir -v /usr/share/doc/gawk-&gawk-version;
  44. cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;</userinput></screen>
  45. </sect2>
  46. <sect2 id="contents-gawk" role="content">
  47. <title>Contents of Gawk</title>
  48. <segmentedlist>
  49. <segtitle>Installed programs</segtitle>
  50. <segtitle>Installed libraries</segtitle>
  51. <segtitle>Installed directories</segtitle>
  52. <seglistitem>
  53. <seg>awk (link to gawk), gawk, and awk-&gawk-version;</seg>
  54. <seg>filefuncs.so, fnmatch.so, fork.so, inplace.so, intdiv.so, ordchr.so,
  55. readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so,
  56. and time.so (all in /usr/lib/gawk)</seg>
  57. <seg>/usr/lib/gawk, /usr/libexec/awk, /usr/share/awk, and
  58. /usr/share/doc/gawk-&gawk-version;</seg>
  59. </seglistitem>
  60. </segmentedlist>
  61. <variablelist>
  62. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  63. <?dbfo list-presentation="list"?>
  64. <?dbhtml list-presentation="table"?>
  65. <varlistentry id="awk">
  66. <term><command>awk</command></term>
  67. <listitem>
  68. <para>A link to <command>gawk</command></para>
  69. <indexterm zone="ch-system-gawk awk">
  70. <primary sortas="b-awk">awk</primary>
  71. </indexterm>
  72. </listitem>
  73. </varlistentry>
  74. <varlistentry id="gawk">
  75. <term><command>gawk</command></term>
  76. <listitem>
  77. <para>A program for manipulating text files; it is the GNU
  78. implementation of <command>awk</command></para>
  79. <indexterm zone="ch-system-gawk gawk">
  80. <primary sortas="b-gawk">gawk</primary>
  81. </indexterm>
  82. </listitem>
  83. </varlistentry>
  84. <varlistentry id="gawk-version">
  85. <term><command>gawk-&gawk-version;</command></term>
  86. <listitem>
  87. <para>A hard link to <command>gawk</command></para>
  88. <indexterm zone="ch-system-gawk gawk-version">
  89. <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
  90. </indexterm>
  91. </listitem>
  92. </varlistentry>
  93. </variablelist>
  94. </sect2>
  95. </sect1>