| [02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 
|---|
| [c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | 
|---|
|  | 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | 
|---|
| [02095ae] | 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 |  | 
|---|
| [12e6567] | 25 | &env-target; | 
|---|
|  | 26 |  | 
|---|
| [02095ae] | 27 | <sect2 role="installation"> | 
|---|
|  | 28 | <title>Installation of Gawk</title> | 
|---|
|  | 29 |  | 
|---|
|  | 30 | <para os="c">Prepare Gawk for compilation:</para> | 
|---|
|  | 31 |  | 
|---|
| [cee2ca2] | 32 | <screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ | 
|---|
|  | 33 | --prefix=/usr --libexecdir=/usr/lib</userinput></screen> | 
|---|
| [02095ae] | 34 |  | 
|---|
| [3411c18] | 35 | <para os="g">Compile the package:</para> | 
|---|
| [02095ae] | 36 |  | 
|---|
| [3411c18] | 37 | <screen os="h"><userinput>make</userinput></screen> | 
|---|
|  | 38 |  | 
|---|
|  | 39 | <para os="i">Install the package:</para> | 
|---|
|  | 40 |  | 
|---|
|  | 41 | <screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen> | 
|---|
| [02095ae] | 42 |  | 
|---|
|  | 43 | </sect2> | 
|---|
|  | 44 |  | 
|---|
|  | 45 | <sect2 id="contents-gawk" role="content"> | 
|---|
|  | 46 | <title>Contents of Gawk</title> | 
|---|
|  | 47 |  | 
|---|
|  | 48 | <segmentedlist> | 
|---|
|  | 49 | <segtitle>Installed programs</segtitle> | 
|---|
|  | 50 |  | 
|---|
|  | 51 | <seglistitem> | 
|---|
|  | 52 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, | 
|---|
|  | 53 | pgawk, pgawk-&gawk-version;, and pwcat</seg> | 
|---|
|  | 54 | </seglistitem> | 
|---|
|  | 55 | </segmentedlist> | 
|---|
|  | 56 |  | 
|---|
|  | 57 | <variablelist> | 
|---|
|  | 58 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> | 
|---|
|  | 59 | <?dbfo list-presentation="list"?> | 
|---|
|  | 60 | <?dbhtml list-presentation="table"?> | 
|---|
|  | 61 |  | 
|---|
|  | 62 | <varlistentry id="awk"> | 
|---|
|  | 63 | <term><command>awk</command></term> | 
|---|
|  | 64 | <listitem> | 
|---|
|  | 65 | <para>A link to <command>gawk</command></para> | 
|---|
|  | 66 | <indexterm zone="ch-system-gawk awk"> | 
|---|
|  | 67 | <primary sortas="b-awk">awk</primary> | 
|---|
|  | 68 | </indexterm> | 
|---|
|  | 69 | </listitem> | 
|---|
|  | 70 | </varlistentry> | 
|---|
|  | 71 |  | 
|---|
|  | 72 | <varlistentry id="gawk"> | 
|---|
|  | 73 | <term><command>gawk</command></term> | 
|---|
|  | 74 | <listitem> | 
|---|
|  | 75 | <para>A program for manipulating text files; it is the GNU | 
|---|
|  | 76 | implementation of <command>awk</command></para> | 
|---|
|  | 77 | <indexterm zone="ch-system-gawk gawk"> | 
|---|
|  | 78 | <primary sortas="b-gawk">gawk</primary> | 
|---|
|  | 79 | </indexterm> | 
|---|
|  | 80 | </listitem> | 
|---|
|  | 81 | </varlistentry> | 
|---|
|  | 82 |  | 
|---|
|  | 83 | <varlistentry id="gawk-version"> | 
|---|
|  | 84 | <term><command>gawk-&gawk-version;</command></term> | 
|---|
|  | 85 | <listitem> | 
|---|
|  | 86 | <para>A hard link to <command>gawk</command></para> | 
|---|
|  | 87 | <indexterm zone="ch-system-gawk gawk-version"> | 
|---|
|  | 88 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary> | 
|---|
|  | 89 | </indexterm> | 
|---|
|  | 90 | </listitem> | 
|---|
|  | 91 | </varlistentry> | 
|---|
|  | 92 |  | 
|---|
|  | 93 | <varlistentry id="grcat"> | 
|---|
|  | 94 | <term><command>grcat</command></term> | 
|---|
|  | 95 | <listitem> | 
|---|
|  | 96 | <para>Dumps the group database <filename>/etc/group</filename></para> | 
|---|
|  | 97 | <indexterm zone="ch-system-gawk grcat"> | 
|---|
|  | 98 | <primary sortas="b-grcat">grcat</primary> | 
|---|
|  | 99 | </indexterm> | 
|---|
|  | 100 | </listitem> | 
|---|
|  | 101 | </varlistentry> | 
|---|
|  | 102 |  | 
|---|
|  | 103 | <varlistentry id="igawk"> | 
|---|
|  | 104 | <term><command>igawk</command></term> | 
|---|
|  | 105 | <listitem> | 
|---|
|  | 106 | <para>Gives <command>gawk</command> the ability to include files</para> | 
|---|
|  | 107 | <indexterm zone="ch-system-gawk igawk"> | 
|---|
|  | 108 | <primary sortas="b-igawk">igawk</primary> | 
|---|
|  | 109 | </indexterm> | 
|---|
|  | 110 | </listitem> | 
|---|
|  | 111 | </varlistentry> | 
|---|
|  | 112 |  | 
|---|
|  | 113 | <varlistentry id="pgawk"> | 
|---|
|  | 114 | <term><command>pgawk</command></term> | 
|---|
|  | 115 | <listitem> | 
|---|
|  | 116 | <para>The profiling version of <command>gawk</command></para> | 
|---|
|  | 117 | <indexterm zone="ch-system-gawk pgawk"> | 
|---|
|  | 118 | <primary sortas="b-pgawk">pgawk</primary> | 
|---|
|  | 119 | </indexterm> | 
|---|
|  | 120 | </listitem> | 
|---|
|  | 121 | </varlistentry> | 
|---|
|  | 122 |  | 
|---|
|  | 123 | <varlistentry id="pgawk-version"> | 
|---|
|  | 124 | <term><command>pgawk-&gawk-version;</command></term> | 
|---|
|  | 125 | <listitem> | 
|---|
|  | 126 | <para>Hard link to <command>pgawk</command></para> | 
|---|
|  | 127 | <indexterm zone="ch-system-gawk pgawk-version"> | 
|---|
|  | 128 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary> | 
|---|
|  | 129 | </indexterm> | 
|---|
|  | 130 | </listitem> | 
|---|
|  | 131 | </varlistentry> | 
|---|
|  | 132 |  | 
|---|
|  | 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"> | 
|---|
|  | 138 | <primary sortas="b-pwcat">pwcat</primary> | 
|---|
|  | 139 | </indexterm> | 
|---|
|  | 140 | </listitem> | 
|---|
|  | 141 | </varlistentry> | 
|---|
|  | 142 |  | 
|---|
|  | 143 | </variablelist> | 
|---|
|  | 144 |  | 
|---|
|  | 145 | </sect2> | 
|---|
|  | 146 |  | 
|---|
|  | 147 | </sect1> | 
|---|