source: chapter06/gawk.xml@ 0445a3d

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.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 0445a3d was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

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