* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git] / newxml / chapter06 / gawk.xml
blob8eea05d14b89f995318096cfaeaa1c0b4dfdd970
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3   <!ENTITY % general-entities SYSTEM "../general.ent">
4   %general-entities;
5 ]>
6 <sect1 id="ch-system-gawk" xreflabel="Gawk">
7 <title>Gawk-&gawk-version;</title>
8 <?dbhtml filename="gawk.html"?>
10 <indexterm zone="ch-system-gawk"><primary sortas="a-Gawk">Gawk</primary></indexterm>
12 <para>The Gawk package contains programs for manipulating text files.</para>
14 <screen>&buildtime; 0.2 SBU
15 &diskspace; 17 MB</screen>
17 <para>Gawk installation depends on: Bash, Binutils, Coreutils,
18 Diffutils, GCC, Gettext, Glibc, Grep, Make, Sed.</para>
22 <sect2>
23 <title>Installation of Gawk</title>
25 <para>Prepare Gawk for compilation:</para>
27 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
29 <para>Compile the package:</para>
31 <screen><userinput>make</userinput></screen>
33 <para>To test the results, issue:
34 <userinput>make check</userinput>.</para>
36 <para>Now install the package:</para>
38 <screen><userinput>make install</userinput></screen>
40 </sect2>
43 <sect2 id="contents-gawk"><title>Contents of Gawk</title>
45 <para><emphasis>Installed programs</emphasis>: awk (link to gawk), gawk,
46 gawk-&gawk-version;, grcat, igawk, pgawk, pgawk-&gawk-version; and pwcat</para>
48 </sect2>
50 <sect2><title>Short descriptions</title>
52 <indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm>
53 <para id="gawk"><command>gawk</command> is a program for manipulating text files.
54 It is the GNU implementation of awk.</para>
56 <indexterm zone="ch-system-gawk grcat"><primary sortas="b-grcat">grcat</primary></indexterm>
57 <para id="grcat"><command>grcat</command> dumps the group database
58 <filename>/etc/group</filename>.</para>
60 <indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm>
61 <para id="igawk"><command>igawk</command> gives gawk the ability to
62 include files.</para>
64 <indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></indexterm>
65 <para id="pgawk"><command>pgawk</command> is the profiling version of gawk.</para>
67 <indexterm zone="ch-system-gawk pwcat"><primary sortas="b-pwcat">pwcat</primary></indexterm>
68 <para id="pwcat"><command>pwcat</command> dumps the password database
69 <filename>/etc/passwd</filename>.</para>
71 </sect2>
75 </sect1>