[67300de] | 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 |
|
---|
| 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">Prepare Gawk for compilation:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="h1">Now fix an issue that will cause the Gettext testsuite
|
---|
| 33 | to fail:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="h2"><userinput>echo '#define HAVE_LC_MESSAGES 1' >> config.h</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <para os="c">Compile the package:</para>
|
---|
| 38 |
|
---|
| 39 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 40 |
|
---|
| 41 | <para os="e">To test the results, issue:
|
---|
| 42 | <userinput>make check</userinput>.</para>
|
---|
| 43 |
|
---|
| 44 | <para os="f">Install the package:</para>
|
---|
| 45 |
|
---|
| 46 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2 id="contents-gawk" role="content">
|
---|
| 51 | <title>Contents of Gawk</title>
|
---|
| 52 |
|
---|
| 53 | <segmentedlist>
|
---|
| 54 | <segtitle>Installed programs</segtitle>
|
---|
| 55 |
|
---|
| 56 | <seglistitem>
|
---|
| 57 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
|
---|
| 58 | pgawk, pgawk-&gawk-version;, and pwcat</seg>
|
---|
| 59 | </seglistitem>
|
---|
| 60 | </segmentedlist>
|
---|
| 61 |
|
---|
| 62 | <variablelist>
|
---|
| 63 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 64 | <?dbfo list-presentation="list"?>
|
---|
| 65 | <?dbhtml list-presentation="table"?>
|
---|
| 66 |
|
---|
| 67 | <varlistentry id="awk">
|
---|
| 68 | <term><command>awk</command></term>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>A link to <command>gawk</command></para>
|
---|
| 71 | <indexterm zone="ch-system-gawk awk">
|
---|
| 72 | <primary sortas="b-awk">awk</primary>
|
---|
| 73 | </indexterm>
|
---|
| 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 |
|
---|
| 77 | <varlistentry id="gawk">
|
---|
| 78 | <term><command>gawk</command></term>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>A program for manipulating text files; it is the GNU
|
---|
| 81 | implementation of <command>awk</command></para>
|
---|
| 82 | <indexterm zone="ch-system-gawk gawk">
|
---|
| 83 | <primary sortas="b-gawk">gawk</primary>
|
---|
| 84 | </indexterm>
|
---|
| 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="gawk-version">
|
---|
| 89 | <term><command>gawk-&gawk-version;</command></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>A hard link to <command>gawk</command></para>
|
---|
| 92 | <indexterm zone="ch-system-gawk gawk-version">
|
---|
| 93 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
|
---|
| 94 | </indexterm>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry id="grcat">
|
---|
| 99 | <term><command>grcat</command></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>Dumps the group database <filename>/etc/group</filename></para>
|
---|
| 102 | <indexterm zone="ch-system-gawk grcat">
|
---|
| 103 | <primary sortas="b-grcat">grcat</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="igawk">
|
---|
| 109 | <term><command>igawk</command></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>Gives <command>gawk</command> the ability to include files</para>
|
---|
| 112 | <indexterm zone="ch-system-gawk igawk">
|
---|
| 113 | <primary sortas="b-igawk">igawk</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="pgawk">
|
---|
| 119 | <term><command>pgawk</command></term>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>The profiling version of <command>gawk</command></para>
|
---|
| 122 | <indexterm zone="ch-system-gawk pgawk">
|
---|
| 123 | <primary sortas="b-pgawk">pgawk</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="pgawk-version">
|
---|
| 129 | <term><command>pgawk-&gawk-version;</command></term>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>Hard link to <command>pgawk</command></para>
|
---|
| 132 | <indexterm zone="ch-system-gawk pgawk-version">
|
---|
| 133 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="pwcat">
|
---|
| 139 | <term><command>pwcat</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>Dumps the password database <filename>/etc/passwd</filename></para>
|
---|
| 142 | <indexterm zone="ch-system-gawk pwcat">
|
---|
| 143 | <primary sortas="b-pwcat">pwcat</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | </variablelist>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | </sect1>
|
---|