source: chapter06/gawk.xml@ ca17032

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 ca17032 was ca17032, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Including patches.ent from general.ent

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

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