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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 30caf1b was 3373dd11, checked in by Jim Gifford <clfs@…>, 19 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

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