[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
---|
[3f8be484] | 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 | |
---|
[7cbeedf] | 28 | <para os="a">Prepare Gawk for compilation:</para> |
---|
[3f8be484] | 29 | |
---|
[5002e75a] | 30 | <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> |
---|
[3f8be484] | 31 | |
---|
[7cbeedf] | 32 | <para os="c">Compile the package:</para> |
---|
[3f8be484] | 33 | |
---|
[7cbeedf] | 34 | <screen os="d"><userinput>make</userinput></screen> |
---|
[3f8be484] | 35 | |
---|
[686839b] | 36 | <para os="e">To test the results, issue:</para> |
---|
| 37 | |
---|
| 38 | <screen os="e2"><userinput remap="test">make check</userinput></screen> |
---|
[3f8be484] | 39 | |
---|
[7cbeedf] | 40 | <para os="f">Install the package:</para> |
---|
[3f8be484] | 41 | |
---|
[7cbeedf] | 42 | <screen os="g"><userinput>make install</userinput></screen> |
---|
[3f8be484] | 43 | |
---|
[c873165] | 44 | <para os="h">Install the documentation:</para> |
---|
| 45 | |
---|
| 46 | <screen os="i"><userinput>mkdir -v /usr/share/doc/gawk-&gawk-version; |
---|
| 47 | cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;</userinput></screen> |
---|
| 48 | |
---|
[3f8be484] | 49 | </sect2> |
---|
| 50 | |
---|
| 51 | <sect2 id="contents-gawk" role="content"> |
---|
| 52 | <title>Contents of Gawk</title> |
---|
| 53 | |
---|
| 54 | <segmentedlist> |
---|
| 55 | <segtitle>Installed programs</segtitle> |
---|
[61ad0b7f] | 56 | <segtitle>Installed directories</segtitle> |
---|
[3f8be484] | 57 | |
---|
| 58 | <seglistitem> |
---|
| 59 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, |
---|
[f698055a] | 60 | pgawk, pgawk-&gawk-version;, pwcat</seg> |
---|
[c873165] | 61 | <seg>/usr/lib/awk, /usr/lib/gawk, /usr/share/awk, |
---|
| 62 | /usr/share/doc/gawk-&gawk-version;</seg> |
---|
[3f8be484] | 63 | </seglistitem> |
---|
| 64 | </segmentedlist> |
---|
| 65 | |
---|
| 66 | <variablelist> |
---|
| 67 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> |
---|
| 68 | <?dbfo list-presentation="list"?> |
---|
| 69 | <?dbhtml list-presentation="table"?> |
---|
| 70 | |
---|
| 71 | <varlistentry id="awk"> |
---|
| 72 | <term><command>awk</command></term> |
---|
| 73 | <listitem> |
---|
| 74 | <para>A link to <command>gawk</command></para> |
---|
| 75 | <indexterm zone="ch-system-gawk awk"> |
---|
| 76 | <primary sortas="b-awk">awk</primary> |
---|
| 77 | </indexterm> |
---|
| 78 | </listitem> |
---|
| 79 | </varlistentry> |
---|
| 80 | |
---|
| 81 | <varlistentry id="gawk"> |
---|
| 82 | <term><command>gawk</command></term> |
---|
| 83 | <listitem> |
---|
| 84 | <para>A program for manipulating text files; it is the GNU |
---|
| 85 | implementation of <command>awk</command></para> |
---|
| 86 | <indexterm zone="ch-system-gawk gawk"> |
---|
| 87 | <primary sortas="b-gawk">gawk</primary> |
---|
| 88 | </indexterm> |
---|
| 89 | </listitem> |
---|
| 90 | </varlistentry> |
---|
| 91 | |
---|
| 92 | <varlistentry id="gawk-version"> |
---|
| 93 | <term><command>gawk-&gawk-version;</command></term> |
---|
| 94 | <listitem> |
---|
| 95 | <para>A hard link to <command>gawk</command></para> |
---|
| 96 | <indexterm zone="ch-system-gawk gawk-version"> |
---|
| 97 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary> |
---|
| 98 | </indexterm> |
---|
| 99 | </listitem> |
---|
| 100 | </varlistentry> |
---|
| 101 | |
---|
| 102 | <varlistentry id="grcat"> |
---|
| 103 | <term><command>grcat</command></term> |
---|
| 104 | <listitem> |
---|
| 105 | <para>Dumps the group database <filename>/etc/group</filename></para> |
---|
| 106 | <indexterm zone="ch-system-gawk grcat"> |
---|
| 107 | <primary sortas="b-grcat">grcat</primary> |
---|
| 108 | </indexterm> |
---|
| 109 | </listitem> |
---|
| 110 | </varlistentry> |
---|
| 111 | |
---|
| 112 | <varlistentry id="igawk"> |
---|
| 113 | <term><command>igawk</command></term> |
---|
| 114 | <listitem> |
---|
| 115 | <para>Gives <command>gawk</command> the ability to include files</para> |
---|
| 116 | <indexterm zone="ch-system-gawk igawk"> |
---|
| 117 | <primary sortas="b-igawk">igawk</primary> |
---|
| 118 | </indexterm> |
---|
| 119 | </listitem> |
---|
| 120 | </varlistentry> |
---|
| 121 | |
---|
| 122 | <varlistentry id="pgawk"> |
---|
| 123 | <term><command>pgawk</command></term> |
---|
| 124 | <listitem> |
---|
| 125 | <para>The profiling version of <command>gawk</command></para> |
---|
| 126 | <indexterm zone="ch-system-gawk pgawk"> |
---|
| 127 | <primary sortas="b-pgawk">pgawk</primary> |
---|
| 128 | </indexterm> |
---|
| 129 | </listitem> |
---|
| 130 | </varlistentry> |
---|
| 131 | |
---|
| 132 | <varlistentry id="pgawk-version"> |
---|
| 133 | <term><command>pgawk-&gawk-version;</command></term> |
---|
| 134 | <listitem> |
---|
| 135 | <para>Hard link to <command>pgawk</command></para> |
---|
| 136 | <indexterm zone="ch-system-gawk pgawk-version"> |
---|
| 137 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary> |
---|
| 138 | </indexterm> |
---|
| 139 | </listitem> |
---|
| 140 | </varlistentry> |
---|
| 141 | |
---|
| 142 | <varlistentry id="pwcat"> |
---|
| 143 | <term><command>pwcat</command></term> |
---|
| 144 | <listitem> |
---|
| 145 | <para>Dumps the password database <filename>/etc/passwd</filename></para> |
---|
| 146 | <indexterm zone="ch-system-gawk pwcat"> |
---|
| 147 | <primary sortas="b-pwcat">pwcat</primary> |
---|
| 148 | </indexterm> |
---|
| 149 | </listitem> |
---|
| 150 | </varlistentry> |
---|
| 151 | |
---|
| 152 | </variablelist> |
---|
| 153 | |
---|
| 154 | </sect2> |
---|
| 155 | |
---|
| 156 | </sect1> |
---|