Changeset 73c180db for chapter06/gawk.xml
- Timestamp:
- 02/04/2006 01:37:25 PM (19 years ago)
- Children:
- 3a0a57c
- Parents:
- fa994c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gawk.xml
rfa994c9 r73c180db 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-gawk" role="wrap"> 7 <title>Gawk-&gawk-version;</title> 8 <?dbhtml filename="gawk.html"?> 9 <?dbhtml filename="gawk.html"?> 9 10 10 <indexterm zone="ch-system-gawk"><primary sortas="a-Gawk">Gawk</primary></indexterm>11 <title>Gawk-&gawk-version;</title> 11 12 12 <sect2 role="package"><title/> 13 <para>The Gawk package contains programs for manipulating text files.</para> 13 <indexterm zone="ch-system-gawk"> 14 <primary sortas="a-Gawk">Gawk</primary> 15 </indexterm> 14 16 15 <segmentedlist> 16 <segtitle>&buildtime;</segtitle> 17 <segtitle>&diskspace;</segtitle> 18 <seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem> 19 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 20 19 21 <segmentedlist> 22 <segtitle>&dependencies;</segtitle> 23 <seglistitem><seg>Bash, Binutils, Coreutils, 24 Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, and Sed</seg></seglistitem> 25 </segmentedlist> 26 </sect2> 20 <para>The Gawk package contains programs for manipulating text files.</para> 27 21 28 <sect2 role="installation"> 29 <title>Installation of Gawk</title> 22 <segmentedlist> 23 <segtitle>&buildtime;</segtitle> 24 <segtitle>&diskspace;</segtitle> 30 25 31 <para>Under some circumstances, Gawk-&gawk-version; attempts to free a chunk 32 of memory that was not allocated. This bug is fixed by the following patch:</para> 26 <seglistitem> 27 <seg>0.2 SBU</seg> 28 <seg>16.4 MB</seg> 29 </seglistitem> 30 </segmentedlist> 31 32 <segmentedlist> 33 <segtitle>&dependencies;</segtitle> 34 35 <seglistitem> 36 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, 37 Grep, Make, Patch, and Sed</seg> 38 </seglistitem> 39 </segmentedlist> 40 41 </sect2> 42 43 <sect2 role="installation"> 44 <title>Installation of Gawk</title> 45 46 <para>Under some circumstances, Gawk-&gawk-version; attempts to free a 47 chunk of memory that was not allocated. This bug is fixed by the following 48 patch:</para> 33 49 34 50 <screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> 35 51 36 <para>Prepare Gawk for compilation:</para>52 <para>Prepare Gawk for compilation:</para> 37 53 38 54 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> 39 55 40 <para>Due to a bug in the <command>configure</command> script, Gawk fails41 to detect certain aspects of locale support in Glibc. This 42 bug leads to, e.g., Gettext testsuite failures. Work around this issue43 by appending themissing macro definitions to <filename>config.h</filename>:</para>56 <para>Due to a bug in the <command>configure</command> script, Gawk fails 57 to detect certain aspects of locale support in Glibc. This bug leads to, 58 e.g., Gettext testsuite failures. Work around this issue by appending the 59 missing macro definitions to <filename>config.h</filename>:</para> 44 60 45 61 <screen><userinput>cat >>config.h <<"EOF" … … 48 64 EOF</userinput></screen> 49 65 50 <para>Compile the package:</para>66 <para>Compile the package:</para> 51 67 52 68 <screen><userinput>make</userinput></screen> 53 69 54 <para>To test the results, issue:55 <userinput>make check</userinput>.</para>70 <para>To test the results, issue: 71 <userinput>make check</userinput>.</para> 56 72 57 <para>Install the package:</para>73 <para>Install the package:</para> 58 74 59 75 <screen><userinput>make install</userinput></screen> 60 76 61 </sect2>77 </sect2> 62 78 79 <sect2 id="contents-gawk" role="content"> 80 <title>Contents of Gawk</title> 63 81 64 <sect2 id="contents-gawk" role="content"><title>Contents of Gawk</title> 82 <segmentedlist> 83 <segtitle>Installed programs</segtitle> 65 84 66 <segmentedlist>67 <segtitle>Installed programs</segtitle> 68 <seglistitem><seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, 69 pgawk, pgawk-&gawk-version;, and pwcat</seg></seglistitem>70 </segmentedlist>85 <seglistitem> 86 <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, pgawk, 87 pgawk-&gawk-version;, and pwcat</seg> 88 </seglistitem> 89 </segmentedlist> 71 90 72 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 73 <?dbfo list-presentation="list"?> 74 <?dbhtml list-presentation="table"?> 91 <variablelist> 92 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 93 <?dbfo list-presentation="list"?> 94 <?dbhtml list-presentation="table"?> 75 95 76 <varlistentry id="awk"> 77 <term><command>awk</command></term> 78 <listitem> 79 <para>A link to <command>gawk</command></para> 80 <indexterm zone="ch-system-gawk awk"><primary sortas="b-awk">awk</primary></indexterm> 81 </listitem> 82 </varlistentry> 96 <varlistentry id="awk"> 97 <term><command>awk</command></term> 98 <listitem> 99 <para>A link to <command>gawk</command></para> 100 <indexterm zone="ch-system-gawk awk"> 101 <primary sortas="b-awk">awk</primary> 102 </indexterm> 103 </listitem> 104 </varlistentry> 83 105 84 <varlistentry id="gawk"> 85 <term><command>gawk</command></term> 86 <listitem> 87 <para>A program for manipulating text files; it is the GNU 88 implementation of <command>awk</command></para> 89 <indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm> 90 </listitem> 91 </varlistentry> 106 <varlistentry id="gawk"> 107 <term><command>gawk</command></term> 108 <listitem> 109 <para>A program for manipulating text files; it is the GNU 110 implementation of <command>awk</command></para> 111 <indexterm zone="ch-system-gawk gawk"> 112 <primary sortas="b-gawk">gawk</primary> 113 </indexterm> 114 </listitem> 115 </varlistentry> 92 116 93 <varlistentry id="gawk-version"> 94 <term><command>gawk-&gawk-version;</command></term> 95 <listitem> 96 <para>A hard link to <command>gawk</command></para> 97 <indexterm zone="ch-system-gawk gawk-version"><primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary></indexterm> 98 </listitem> 99 </varlistentry> 117 <varlistentry id="gawk-version"> 118 <term><command>gawk-&gawk-version;</command></term> 119 <listitem> 120 <para>A hard link to <command>gawk</command></para> 121 <indexterm zone="ch-system-gawk gawk-version"> 122 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary> 123 </indexterm> 124 </listitem> 125 </varlistentry> 100 126 101 <varlistentry id="grcat"> 102 <term><command>grcat</command></term> 103 <listitem> 104 <para>Dumps the group database <filename>/etc/group</filename></para> 105 <indexterm zone="ch-system-gawk grcat"><primary sortas="b-grcat">grcat</primary></indexterm> 106 </listitem> 107 </varlistentry> 127 <varlistentry id="grcat"> 128 <term><command>grcat</command></term> 129 <listitem> 130 <para>Dumps the group database <filename>/etc/group</filename></para> 131 <indexterm zone="ch-system-gawk grcat"> 132 <primary sortas="b-grcat">grcat</primary> 133 </indexterm> 134 </listitem> 135 </varlistentry> 108 136 109 <varlistentry id="igawk"> 110 <term><command>igawk</command></term> 111 <listitem> 112 <para>Gives <command>gawk</command> the ability to include files</para> 113 <indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm> 114 </listitem> 115 </varlistentry> 137 <varlistentry id="igawk"> 138 <term><command>igawk</command></term> 139 <listitem> 140 <para>Gives <command>gawk</command> the ability to include files</para> 141 <indexterm zone="ch-system-gawk igawk"> 142 <primary sortas="b-igawk">igawk</primary> 143 </indexterm> 144 </listitem> 145 </varlistentry> 116 146 117 <varlistentry id="pgawk"> 118 <term><command>pgawk</command></term> 119 <listitem> 120 <para>The profiling version of <command>gawk</command></para> 121 <indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></indexterm> 122 </listitem> 123 </varlistentry> 147 <varlistentry id="pgawk"> 148 <term><command>pgawk</command></term> 149 <listitem> 150 <para>The profiling version of <command>gawk</command></para> 151 <indexterm zone="ch-system-gawk pgawk"> 152 <primary sortas="b-pgawk">pgawk</primary> 153 </indexterm> 154 </listitem> 155 </varlistentry> 124 156 125 <varlistentry id="pgawk-version"> 126 <term><command>pgawk-&gawk-version;</command></term> 127 <listitem> 128 <para>Hard link to <command>pgawk</command></para> 129 <indexterm zone="ch-system-gawk pgawk-version"><primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary></indexterm> 130 </listitem> 131 </varlistentry> 157 <varlistentry id="pgawk-version"> 158 <term><command>pgawk-&gawk-version;</command></term> 159 <listitem> 160 <para>Hard link to <command>pgawk</command></para> 161 <indexterm zone="ch-system-gawk pgawk-version"> 162 <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary> 163 </indexterm> 164 </listitem> 165 </varlistentry> 132 166 133 <varlistentry id="pwcat"> 134 <term><command>pwcat</command></term> 135 <listitem> 136 <para>Dumps the password database <filename>/etc/passwd</filename></para> 137 <indexterm zone="ch-system-gawk pwcat"><primary sortas="b-pwcat">pwcat</primary></indexterm> 138 </listitem> 139 </varlistentry> 140 </variablelist> 167 <varlistentry id="pwcat"> 168 <term><command>pwcat</command></term> 169 <listitem> 170 <para>Dumps the password database <filename>/etc/passwd</filename></para> 171 <indexterm zone="ch-system-gawk pwcat"> 172 <primary sortas="b-pwcat">pwcat</primary> 173 </indexterm> 174 </listitem> 175 </varlistentry> 141 176 142 </sect2> 177 </variablelist> 178 179 </sect2> 143 180 144 181 </sect1> 145
Note:
See TracChangeset
for help on using the changeset viewer.