source: chapter06/gawk.xml@ e6ab4b5

Last change on this file since e6ab4b5 was 46a2e9c, checked in by Jeremy Huntwork <jhuntwork@…>, 19 years ago

Merged recent changes from trunk to lfs-alpha. Fixed typo.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1770019]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[81fd230]6<sect1 id="ch-system-gawk" role="wrap">
[673b0d8]7<title>Gawk-&gawk-version;</title>
8<?dbhtml filename="gawk.html"?>
9
10<indexterm zone="ch-system-gawk"><primary sortas="a-Gawk">Gawk</primary></indexterm>
[9602db22]11
[a001133]12<sect2 role="package"><title/>
[81fd230]13<para>The Gawk package contains programs for manipulating text files.</para>
[5888299]14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
[eb6d9eb]18<seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem>
[a001133]19</segmentedlist>
20
[81fd230]21<segmentedlist>
[45992ae]22<segtitle>&dependencies;</segtitle>
[81fd230]23<seglistitem><seg>Bash, Binutils, Coreutils,
[1a89152]24Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, and Sed</seg></seglistitem>
[81fd230]25</segmentedlist>
[a001133]26</sect2>
[73aedd1d]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Gawk</title>
30
[46a2e9c]31<para>Under some circumstances, Gawk-&gawk-version; attempts to free a chunk
32of memory that was not allocated. This bug is fixed by the following patch:</para>
[ed393ba]33
34<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
35
[c1b2c648]36<para>Prepare Gawk for compilation:</para>
37
38<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
[73aedd1d]39
[46a2e9c]40<para>Due to a bug in the <command>configure</command> script, Gawk fails
41to detect certain aspects of locale support in Glibc. This
42bug leads to, e.g., Gettext testsuite failures. Work around this issue
43by appending the missing macro definitions to <filename>config.h</filename>:</para>
[ed393ba]44
[46a2e9c]45<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
46<literal>#define HAVE_LANGINFO_CODESET 1
47#define HAVE_LC_MESSAGES 1</literal>
48EOF</userinput></screen>
[ed393ba]49
[73aedd1d]50<para>Compile the package:</para>
51
52<screen><userinput>make</userinput></screen>
53
[673b0d8]54<para>To test the results, issue:
[8a5f906]55<userinput>make check</userinput>.</para>
[73aedd1d]56
[81fd230]57<para>Install the package:</para>
[73aedd1d]58
59<screen><userinput>make install</userinput></screen>
60
61</sect2>
[9602db22]62
[5888299]63
[c6cb3aa]64<sect2 id="contents-gawk" role="content"><title>Contents of Gawk</title>
[673b0d8]65
[81fd230]66<segmentedlist>
67<segtitle>Installed programs</segtitle>
68<seglistitem><seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
69pgawk, pgawk-&gawk-version;, and pwcat</seg></seglistitem>
70</segmentedlist>
71
72<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
73<?dbfo list-presentation="list"?>
[8f97096]74<?dbhtml list-presentation="table"?>
[81fd230]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"><primary sortas="b-awk">awk</primary></indexterm>
81</listitem>
82</varlistentry>
83
84<varlistentry id="gawk">
85<term><command>gawk</command></term>
86<listitem>
87<para>A program for manipulating text files; it is the GNU
88implementation of <command>awk</command></para>
89<indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm>
90</listitem>
91</varlistentry>
92
93<varlistentry id="gawk-version">
94<term><command>gawk-&gawk-version;</command></term>
95<listitem>
96<para>A hard link to <command>gawk</command></para>
97<indexterm zone="ch-system-gawk gawk-version"><primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary></indexterm>
98</listitem>
99</varlistentry>
100
101<varlistentry id="grcat">
102<term><command>grcat</command></term>
103<listitem>
104<para>Dumps the group database <filename>/etc/group</filename></para>
105<indexterm zone="ch-system-gawk grcat"><primary sortas="b-grcat">grcat</primary></indexterm>
106</listitem>
107</varlistentry>
108
109<varlistentry id="igawk">
110<term><command>igawk</command></term>
111<listitem>
112<para>Gives <command>gawk</command> the ability to include files</para>
113<indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm>
114</listitem>
115</varlistentry>
116
117<varlistentry id="pgawk">
118<term><command>pgawk</command></term>
119<listitem>
120<para>The profiling version of <command>gawk</command></para>
121<indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></indexterm>
122</listitem>
123</varlistentry>
124
125<varlistentry id="pgawk-version">
126<term><command>pgawk-&gawk-version;</command></term>
127<listitem>
128<para>Hard link to <command>pgawk</command></para>
129<indexterm zone="ch-system-gawk pgawk-version"><primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary></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"><primary sortas="b-pwcat">pwcat</primary></indexterm>
138</listitem>
139</varlistentry>
140</variablelist>
[673b0d8]141
142</sect2>
143
144</sect1>
[81fd230]145
Note: See TracBrowser for help on using the repository browser.