source: BOOK/final-system/common/gawk.xml@ cf66ceae

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cf66ceae was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 5.2 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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-gawk" role="wrap">
11 <?dbhtml filename="gawk.html"?>
12
13 <title>Gawk-&gawk-version;</title>
14
15 <indexterm zone="ch-system-gawk">
16 <primary sortas="a-Gawk">Gawk</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Gawk package contains programs for manipulating text
23 files.</para>
24
25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>Not checked yet</seg>
31 <seg>Not checked yet</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 <segmentedlist>
36 <segtitle>&dependencies;</segtitle>
37
38 <seglistitem>
39 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
40 Glibc, Grep, Make, and Sed</seg>
41 </seglistitem>
42 </segmentedlist>
43
44 </sect2>
45
46 <sect2 role="installation">
47 <title>Installation of Gawk</title>
48
49 <para os="a">Patch Gawk to fix a bug which causes it to
50 segfault when invoked on a non-existent file:</para>
51
52<screen os="b"><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
53
54 <para os="c">Prepare Gawk for compilation:</para>
55
56<screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
57
58 <para os="e">Compile the package:</para>
59
60<screen os="f"><userinput>make</userinput></screen>
61
62 <para os="g">To test the results, issue:
63 <userinput>make check</userinput>.</para>
64
65 <para os="h">Install the package:</para>
66
67<screen os="i"><userinput>make install</userinput></screen>
68
69 </sect2>
70
71 <sect2 id="contents-gawk" role="content">
72 <title>Contents of Gawk</title>
73
74 <segmentedlist>
75 <segtitle>Installed programs</segtitle>
76
77 <seglistitem>
78 <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
79 pgawk, pgawk-&gawk-version;, and pwcat</seg>
80 </seglistitem>
81 </segmentedlist>
82
83 <variablelist>
84 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
85 <?dbfo list-presentation="list"?>
86 <?dbhtml list-presentation="table"?>
87
88 <varlistentry id="awk">
89 <term><command>awk</command></term>
90 <listitem>
91 <para>A link to <command>gawk</command></para>
92 <indexterm zone="ch-system-gawk awk">
93 <primary sortas="b-awk">awk</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="gawk">
99 <term><command>gawk</command></term>
100 <listitem>
101 <para>A program for manipulating text files; it is the GNU
102 implementation of <command>awk</command></para>
103 <indexterm zone="ch-system-gawk gawk">
104 <primary sortas="b-gawk">gawk</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="gawk-version">
110 <term><command>gawk-&gawk-version;</command></term>
111 <listitem>
112 <para>A hard link to <command>gawk</command></para>
113 <indexterm zone="ch-system-gawk gawk-version">
114 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry id="grcat">
120 <term><command>grcat</command></term>
121 <listitem>
122 <para>Dumps the group database <filename>/etc/group</filename></para>
123 <indexterm zone="ch-system-gawk grcat">
124 <primary sortas="b-grcat">grcat</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="igawk">
130 <term><command>igawk</command></term>
131 <listitem>
132 <para>Gives <command>gawk</command> the ability to include files</para>
133 <indexterm zone="ch-system-gawk igawk">
134 <primary sortas="b-igawk">igawk</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="pgawk">
140 <term><command>pgawk</command></term>
141 <listitem>
142 <para>The profiling version of <command>gawk</command></para>
143 <indexterm zone="ch-system-gawk pgawk">
144 <primary sortas="b-pgawk">pgawk</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="pgawk-version">
150 <term><command>pgawk-&gawk-version;</command></term>
151 <listitem>
152 <para>Hard link to <command>pgawk</command></para>
153 <indexterm zone="ch-system-gawk pgawk-version">
154 <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="pwcat">
160 <term><command>pwcat</command></term>
161 <listitem>
162 <para>Dumps the password database <filename>/etc/passwd</filename></para>
163 <indexterm zone="ch-system-gawk pwcat">
164 <primary sortas="b-pwcat">pwcat</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.