source: chapter06/gawk.xml@ ed393ba

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 ed393ba was ed393ba, checked in by Matthew Burgess <matthew@…>, 19 years ago

Upgrade to gawk-3.1.5

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

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-system-gawk" role="wrap">
9<title>Gawk-&gawk-version;</title>
10<?dbhtml filename="gawk.html"?>
11
12<indexterm zone="ch-system-gawk"><primary sortas="a-Gawk">Gawk</primary></indexterm>
13
14<sect2 role="package"><title/>
15<para>The Gawk package contains programs for manipulating text files.</para>
16
17<segmentedlist>
18<segtitle>&buildtime;</segtitle>
19<segtitle>&diskspace;</segtitle>
20<seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem>
21</segmentedlist>
22
23<segmentedlist>
24<segtitle>&dependencies;</segtitle>
25<seglistitem><seg>Bash, Binutils, Coreutils,
26Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
27</segmentedlist>
28</sect2>
29
30<sect2 role="installation">
31<title>Installation of Gawk</title>
32
33<para>Patch Gawk to fix a bug which causes it to segfault when invoked on a
34non-existent file:</para>
35
36<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
37
38<para>Prepare Gawk for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
41
42<para>The configure script doesn't detect some functionality correctly. The
43following commands correct this problem:</para>
44
45<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
46echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen>
47
48<para>Compile the package:</para>
49
50<screen><userinput>make</userinput></screen>
51
52<para>To test the results, issue:
53<userinput>make check</userinput>.</para>
54
55<para>Install the package:</para>
56
57<screen><userinput>make install</userinput></screen>
58
59</sect2>
60
61
62<sect2 id="contents-gawk" role="content"><title>Contents of Gawk</title>
63
64<segmentedlist>
65<segtitle>Installed programs</segtitle>
66<seglistitem><seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
67pgawk, pgawk-&gawk-version;, and pwcat</seg></seglistitem>
68</segmentedlist>
69
70<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
71<?dbfo list-presentation="list"?>
72<?dbhtml list-presentation="table"?>
73
74<varlistentry id="awk">
75<term><command>awk</command></term>
76<listitem>
77<para>A link to <command>gawk</command></para>
78<indexterm zone="ch-system-gawk awk"><primary sortas="b-awk">awk</primary></indexterm>
79</listitem>
80</varlistentry>
81
82<varlistentry id="gawk">
83<term><command>gawk</command></term>
84<listitem>
85<para>A program for manipulating text files; it is the GNU
86implementation of <command>awk</command></para>
87<indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm>
88</listitem>
89</varlistentry>
90
91<varlistentry id="gawk-version">
92<term><command>gawk-&gawk-version;</command></term>
93<listitem>
94<para>A hard link to <command>gawk</command></para>
95<indexterm zone="ch-system-gawk gawk-version"><primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary></indexterm>
96</listitem>
97</varlistentry>
98
99<varlistentry id="grcat">
100<term><command>grcat</command></term>
101<listitem>
102<para>Dumps the group database <filename>/etc/group</filename></para>
103<indexterm zone="ch-system-gawk grcat"><primary sortas="b-grcat">grcat</primary></indexterm>
104</listitem>
105</varlistentry>
106
107<varlistentry id="igawk">
108<term><command>igawk</command></term>
109<listitem>
110<para>Gives <command>gawk</command> the ability to include files</para>
111<indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm>
112</listitem>
113</varlistentry>
114
115<varlistentry id="pgawk">
116<term><command>pgawk</command></term>
117<listitem>
118<para>The profiling version of <command>gawk</command></para>
119<indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></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"><primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary></indexterm>
128</listitem>
129</varlistentry>
130
131<varlistentry id="pwcat">
132<term><command>pwcat</command></term>
133<listitem>
134<para>Dumps the password database <filename>/etc/passwd</filename></para>
135<indexterm zone="ch-system-gawk pwcat"><primary sortas="b-pwcat">pwcat</primary></indexterm>
136</listitem>
137</varlistentry>
138</variablelist>
139
140</sect2>
141
142</sect1>
143
Note: See TracBrowser for help on using the repository browser.