source: chapter06/gawk.xml@ 3685bb6

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3685bb6 was 3685bb6, checked in by Jeremy Huntwork <jhuntwork@…>, 18 years ago

Merged alphabetical branch to trunk.

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

  • Property mode set to 100644
File size: 5.5 KB
Line 
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 files.</para>
21
22 <segmentedlist>
23 <segtitle>&buildtime;</segtitle>
24 <segtitle>&diskspace;</segtitle>
25
26 <seglistitem>
27 <seg>0.2 SBU</seg>
28 <seg>16.4 MB</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 <segmentedlist>
33 <segtitle>&dependencies;</segtitle>
34
35 <seglistitem>
36 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
37 Grep, Make, Patch, and Sed</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Gawk</title>
45
46 <para>Under some circumstances, Gawk-&gawk-version; attempts to free a
47 chunk of memory that was not allocated. This bug is fixed by the following
48 patch:</para>
49
50<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
51
52 <para>Prepare Gawk for compilation:</para>
53
54<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
55
56 <para>Due to a bug in the <command>configure</command> script, Gawk fails
57 to detect certain aspects of locale support in Glibc. This bug leads to,
58 e.g., Gettext testsuite failures. Work around this issue by appending the
59 missing macro definitions to <filename>config.h</filename>:</para>
60
61<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
62<literal>#define HAVE_LANGINFO_CODESET 1
63#define HAVE_LC_MESSAGES 1</literal>
64EOF</userinput></screen>
65
66 <para>Compile the package:</para>
67
68<screen><userinput>make</userinput></screen>
69
70 <para>To test the results, issue:
71 <userinput>make check</userinput>.</para>
72
73 <para>Install the package:</para>
74
75<screen><userinput>make install</userinput></screen>
76
77 </sect2>
78
79 <sect2 id="contents-gawk" role="content">
80 <title>Contents of Gawk</title>
81
82 <segmentedlist>
83 <segtitle>Installed programs</segtitle>
84
85 <seglistitem>
86 <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, pgawk,
87 pgawk-&gawk-version;, and pwcat</seg>
88 </seglistitem>
89 </segmentedlist>
90
91 <variablelist>
92 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
93 <?dbfo list-presentation="list"?>
94 <?dbhtml list-presentation="table"?>
95
96 <varlistentry id="awk">
97 <term><command>awk</command></term>
98 <listitem>
99 <para>A link to <command>gawk</command></para>
100 <indexterm zone="ch-system-gawk awk">
101 <primary sortas="b-awk">awk</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="gawk">
107 <term><command>gawk</command></term>
108 <listitem>
109 <para>A program for manipulating text files; it is the GNU
110 implementation of <command>awk</command></para>
111 <indexterm zone="ch-system-gawk gawk">
112 <primary sortas="b-gawk">gawk</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="gawk-version">
118 <term><command>gawk-&gawk-version;</command></term>
119 <listitem>
120 <para>A hard link to <command>gawk</command></para>
121 <indexterm zone="ch-system-gawk gawk-version">
122 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="grcat">
128 <term><command>grcat</command></term>
129 <listitem>
130 <para>Dumps the group database <filename>/etc/group</filename></para>
131 <indexterm zone="ch-system-gawk grcat">
132 <primary sortas="b-grcat">grcat</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="igawk">
138 <term><command>igawk</command></term>
139 <listitem>
140 <para>Gives <command>gawk</command> the ability to include files</para>
141 <indexterm zone="ch-system-gawk igawk">
142 <primary sortas="b-igawk">igawk</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="pgawk">
148 <term><command>pgawk</command></term>
149 <listitem>
150 <para>The profiling version of <command>gawk</command></para>
151 <indexterm zone="ch-system-gawk pgawk">
152 <primary sortas="b-pgawk">pgawk</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="pgawk-version">
158 <term><command>pgawk-&gawk-version;</command></term>
159 <listitem>
160 <para>Hard link to <command>pgawk</command></para>
161 <indexterm zone="ch-system-gawk pgawk-version">
162 <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="pwcat">
168 <term><command>pwcat</command></term>
169 <listitem>
170 <para>Dumps the password database <filename>/etc/passwd</filename></para>
171 <indexterm zone="ch-system-gawk pwcat">
172 <primary sortas="b-pwcat">pwcat</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.