[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-gawk" role="wrap">
|
---|
| 9 | <?dbhtml filename="gawk.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Gawk-&gawk-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-gawk">
|
---|
| 14 | <primary sortas="a-Gawk">Gawk</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Gawk package contains programs for manipulating text
|
---|
| 21 | files.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Gawk</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Patch Gawk to fix a bug which causes it to
|
---|
| 29 | segfault when invoked on a non-existent file:</para>
|
---|
| 30 |
|
---|
| 31 | <screen os="b"><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
|
---|
| 32 |
|
---|
| 33 | <para os="c">Prepare Gawk for compilation:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
|
---|
| 36 |
|
---|
[380c903] | 37 | <para os="h1">Now fix an issue that will cause the Gettext testsuite
|
---|
[a203842] | 38 | to fail:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="h2"><userinput>echo '#define HAVE_LC_MESSAGES 1' >> config.h</userinput></screen>
|
---|
| 41 |
|
---|
[3f8be484] | 42 | <para os="e">Compile the package:</para>
|
---|
| 43 |
|
---|
| 44 | <screen os="f"><userinput>make</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para os="g">To test the results, issue:
|
---|
| 47 | <userinput>make check</userinput>.</para>
|
---|
| 48 |
|
---|
| 49 | <para os="h">Install the package:</para>
|
---|
| 50 |
|
---|
| 51 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2 id="contents-gawk" role="content">
|
---|
| 56 | <title>Contents of Gawk</title>
|
---|
| 57 |
|
---|
| 58 | <segmentedlist>
|
---|
| 59 | <segtitle>Installed programs</segtitle>
|
---|
| 60 |
|
---|
| 61 | <seglistitem>
|
---|
| 62 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
|
---|
| 63 | pgawk, pgawk-&gawk-version;, and pwcat</seg>
|
---|
| 64 | </seglistitem>
|
---|
| 65 | </segmentedlist>
|
---|
| 66 |
|
---|
| 67 | <variablelist>
|
---|
| 68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 69 | <?dbfo list-presentation="list"?>
|
---|
| 70 | <?dbhtml list-presentation="table"?>
|
---|
| 71 |
|
---|
| 72 | <varlistentry id="awk">
|
---|
| 73 | <term><command>awk</command></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>A link to <command>gawk</command></para>
|
---|
| 76 | <indexterm zone="ch-system-gawk awk">
|
---|
| 77 | <primary sortas="b-awk">awk</primary>
|
---|
| 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | <varlistentry id="gawk">
|
---|
| 83 | <term><command>gawk</command></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>A program for manipulating text files; it is the GNU
|
---|
| 86 | implementation of <command>awk</command></para>
|
---|
| 87 | <indexterm zone="ch-system-gawk gawk">
|
---|
| 88 | <primary sortas="b-gawk">gawk</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 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">
|
---|
| 98 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="grcat">
|
---|
| 104 | <term><command>grcat</command></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Dumps the group database <filename>/etc/group</filename></para>
|
---|
| 107 | <indexterm zone="ch-system-gawk grcat">
|
---|
| 108 | <primary sortas="b-grcat">grcat</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="igawk">
|
---|
| 114 | <term><command>igawk</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Gives <command>gawk</command> the ability to include files</para>
|
---|
| 117 | <indexterm zone="ch-system-gawk igawk">
|
---|
| 118 | <primary sortas="b-igawk">igawk</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
| 122 |
|
---|
| 123 | <varlistentry id="pgawk">
|
---|
| 124 | <term><command>pgawk</command></term>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>The profiling version of <command>gawk</command></para>
|
---|
| 127 | <indexterm zone="ch-system-gawk pgawk">
|
---|
| 128 | <primary sortas="b-pgawk">pgawk</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="pgawk-version">
|
---|
| 134 | <term><command>pgawk-&gawk-version;</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>Hard link to <command>pgawk</command></para>
|
---|
| 137 | <indexterm zone="ch-system-gawk pgawk-version">
|
---|
| 138 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="pwcat">
|
---|
| 144 | <term><command>pwcat</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>Dumps the password database <filename>/etc/passwd</filename></para>
|
---|
| 147 | <indexterm zone="ch-system-gawk pwcat">
|
---|
| 148 | <primary sortas="b-pwcat">pwcat</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | </variablelist>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | </sect1>
|
---|