[bf8c11f] | 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 | <segmentedlist>
|
---|
| 24 | <segtitle>&dependencies;</segtitle>
|
---|
| 25 |
|
---|
| 26 | <seglistitem>
|
---|
| 27 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
|
---|
| 28 | Glibc, Grep, Make, and Sed</seg>
|
---|
| 29 | </seglistitem>
|
---|
| 30 | </segmentedlist>
|
---|
| 31 |
|
---|
| 32 | </sect2>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="installation">
|
---|
| 35 | <title>Installation of Gawk</title>
|
---|
| 36 |
|
---|
| 37 | <para os="a">Patch Gawk to fix a bug which causes it to
|
---|
| 38 | segfault when invoked on a non-existent file:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="b"><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para os="c">Prepare Gawk for compilation:</para>
|
---|
| 43 |
|
---|
| 44 | <screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para os="e">Compile the package:</para>
|
---|
| 47 |
|
---|
| 48 | <screen os="f"><userinput>make</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | <para os="g">To test the results, issue:
|
---|
| 51 | <userinput>make check</userinput>.</para>
|
---|
| 52 |
|
---|
| 53 | <para os="h">Install the package:</para>
|
---|
| 54 |
|
---|
| 55 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2 id="contents-gawk" role="content">
|
---|
| 60 | <title>Contents of Gawk</title>
|
---|
| 61 |
|
---|
| 62 | <segmentedlist>
|
---|
| 63 | <segtitle>Installed programs</segtitle>
|
---|
| 64 |
|
---|
| 65 | <seglistitem>
|
---|
| 66 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
|
---|
| 67 | pgawk, pgawk-&gawk-version;, and pwcat</seg>
|
---|
| 68 | </seglistitem>
|
---|
| 69 | </segmentedlist>
|
---|
| 70 |
|
---|
| 71 | <variablelist>
|
---|
| 72 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 73 | <?dbfo list-presentation="list"?>
|
---|
| 74 | <?dbhtml list-presentation="table"?>
|
---|
| 75 |
|
---|
| 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">
|
---|
| 81 | <primary sortas="b-awk">awk</primary>
|
---|
| 82 | </indexterm>
|
---|
| 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
| 85 |
|
---|
| 86 | <varlistentry id="gawk">
|
---|
| 87 | <term><command>gawk</command></term>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>A program for manipulating text files; it is the GNU
|
---|
| 90 | implementation of <command>awk</command></para>
|
---|
| 91 | <indexterm zone="ch-system-gawk gawk">
|
---|
| 92 | <primary sortas="b-gawk">gawk</primary>
|
---|
| 93 | </indexterm>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="gawk-version">
|
---|
| 98 | <term><command>gawk-&gawk-version;</command></term>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>A hard link to <command>gawk</command></para>
|
---|
| 101 | <indexterm zone="ch-system-gawk gawk-version">
|
---|
| 102 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
|
---|
| 103 | </indexterm>
|
---|
| 104 | </listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="grcat">
|
---|
| 108 | <term><command>grcat</command></term>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>Dumps the group database <filename>/etc/group</filename></para>
|
---|
| 111 | <indexterm zone="ch-system-gawk grcat">
|
---|
| 112 | <primary sortas="b-grcat">grcat</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | <varlistentry id="igawk">
|
---|
| 118 | <term><command>igawk</command></term>
|
---|
| 119 | <listitem>
|
---|
| 120 | <para>Gives <command>gawk</command> the ability to include files</para>
|
---|
| 121 | <indexterm zone="ch-system-gawk igawk">
|
---|
| 122 | <primary sortas="b-igawk">igawk</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="pgawk">
|
---|
| 128 | <term><command>pgawk</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para>The profiling version of <command>gawk</command></para>
|
---|
| 131 | <indexterm zone="ch-system-gawk pgawk">
|
---|
| 132 | <primary sortas="b-pgawk">pgawk</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="pgawk-version">
|
---|
| 138 | <term><command>pgawk-&gawk-version;</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>Hard link to <command>pgawk</command></para>
|
---|
| 141 | <indexterm zone="ch-system-gawk pgawk-version">
|
---|
| 142 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="pwcat">
|
---|
| 148 | <term><command>pwcat</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>Dumps the password database <filename>/etc/passwd</filename></para>
|
---|
| 151 | <indexterm zone="ch-system-gawk pwcat">
|
---|
| 152 | <primary sortas="b-pwcat">pwcat</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|