source: chapter06/gawk.xml@ 2a698a6

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 2a698a6 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
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">
[3e36a78]4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
[673b0d8]5 %general-entities;
[3e36a78]6 %patches-entities;
[673b0d8]7]>
[81fd230]8<sect1 id="ch-system-gawk" role="wrap">
[673b0d8]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>
[9602db22]13
[a001133]14<sect2 role="package"><title/>
[81fd230]15<para>The Gawk package contains programs for manipulating text files.</para>
[5888299]16
[a001133]17<segmentedlist>
18<segtitle>&buildtime;</segtitle>
19<segtitle>&diskspace;</segtitle>
[eb6d9eb]20<seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem>
[a001133]21</segmentedlist>
22
[81fd230]23<segmentedlist>
[45992ae]24<segtitle>&dependencies;</segtitle>
[81fd230]25<seglistitem><seg>Bash, Binutils, Coreutils,
26Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
27</segmentedlist>
[a001133]28</sect2>
[73aedd1d]29
[a001133]30<sect2 role="installation">
[73aedd1d]31<title>Installation of Gawk</title>
32
[ed393ba]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
[c1b2c648]38<para>Prepare Gawk for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
[73aedd1d]41
[ed393ba]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
[73aedd1d]48<para>Compile the package:</para>
49
50<screen><userinput>make</userinput></screen>
51
[673b0d8]52<para>To test the results, issue:
[8a5f906]53<userinput>make check</userinput>.</para>
[73aedd1d]54
[81fd230]55<para>Install the package:</para>
[73aedd1d]56
57<screen><userinput>make install</userinput></screen>
58
59</sect2>
[9602db22]60
[5888299]61
[c6cb3aa]62<sect2 id="contents-gawk" role="content"><title>Contents of Gawk</title>
[673b0d8]63
[81fd230]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"?>
[8f97096]72<?dbhtml list-presentation="table"?>
[81fd230]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>
[673b0d8]139
140</sect2>
141
142</sect1>
[81fd230]143
Note: See TracBrowser for help on using the repository browser.