source: clfs-sysroot/BOOK/final-system/common/gawk.xml@ cd4af16

Last change on this file since cd4af16 was 2270211, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Update Patches in the book.

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-gawk" role="wrap">
9 <?dbhtml filename="gawk.html"?>
10
11 <title>Gawk-&gawk-version;</title>
12
13 <indexterm zone="ch-system-gawk">
14 <primary sortas="a-Gawk">Gawk</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Gawk package contains programs for manipulating text
21 files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Gawk</title>
27
28 <para os="c">Prepare Gawk for compilation:</para>
29
30<screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
32
33 <para os="e">The <command>configure</command> script does not detect the
34 following properly:</para>
35
36<screen os="f"><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
37#define HAVE_LANGINFO_CODESET 1
38#define HAVE_LC_MESSAGES 1
39EOF</userinput></screen>
40
41 <para os="g">Compile the package:</para>
42
43<screen os="h"><userinput>make</userinput></screen>
44
45 <para os="i">Install the package:</para>
46
47<screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
48
49 </sect2>
50
51 <sect2 id="contents-gawk" role="content">
52 <title>Contents of Gawk</title>
53
54 <segmentedlist>
55 <segtitle>Installed programs</segtitle>
56
57 <seglistitem>
58 <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
59 pgawk, pgawk-&gawk-version;, and pwcat</seg>
60 </seglistitem>
61 </segmentedlist>
62
63 <variablelist>
64 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
65 <?dbfo list-presentation="list"?>
66 <?dbhtml list-presentation="table"?>
67
68 <varlistentry id="awk">
69 <term><command>awk</command></term>
70 <listitem>
71 <para>A link to <command>gawk</command></para>
72 <indexterm zone="ch-system-gawk awk">
73 <primary sortas="b-awk">awk</primary>
74 </indexterm>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry id="gawk">
79 <term><command>gawk</command></term>
80 <listitem>
81 <para>A program for manipulating text files; it is the GNU
82 implementation of <command>awk</command></para>
83 <indexterm zone="ch-system-gawk gawk">
84 <primary sortas="b-gawk">gawk</primary>
85 </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">
94 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
95 </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">
104 <primary sortas="b-grcat">grcat</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="igawk">
110 <term><command>igawk</command></term>
111 <listitem>
112 <para>Gives <command>gawk</command> the ability to include files</para>
113 <indexterm zone="ch-system-gawk igawk">
114 <primary sortas="b-igawk">igawk</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry id="pgawk">
120 <term><command>pgawk</command></term>
121 <listitem>
122 <para>The profiling version of <command>gawk</command></para>
123 <indexterm zone="ch-system-gawk pgawk">
124 <primary sortas="b-pgawk">pgawk</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="pgawk-version">
130 <term><command>pgawk-&gawk-version;</command></term>
131 <listitem>
132 <para>Hard link to <command>pgawk</command></para>
133 <indexterm zone="ch-system-gawk pgawk-version">
134 <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="pwcat">
140 <term><command>pwcat</command></term>
141 <listitem>
142 <para>Dumps the password database <filename>/etc/passwd</filename></para>
143 <indexterm zone="ch-system-gawk pwcat">
144 <primary sortas="b-pwcat">pwcat</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.