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 | &env-target;
|
---|
26 |
|
---|
27 | <sect2 role="installation">
|
---|
28 | <title>Installation of Gawk</title>
|
---|
29 |
|
---|
30 | <para os="c">Prepare Gawk for compilation:</para>
|
---|
31 |
|
---|
32 | <screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
33 | --prefix=/usr --libexecdir=/usr/lib \
|
---|
34 | --disable-libsigsegv</userinput></screen>
|
---|
35 |
|
---|
36 | <para os="g">Compile the package:</para>
|
---|
37 |
|
---|
38 | <screen os="h"><userinput>make</userinput></screen>
|
---|
39 |
|
---|
40 | <para os="i">Install the package:</para>
|
---|
41 |
|
---|
42 | <screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
43 |
|
---|
44 | </sect2>
|
---|
45 |
|
---|
46 | <sect2 id="contents-gawk" role="content">
|
---|
47 | <title>Contents of Gawk</title>
|
---|
48 |
|
---|
49 | <segmentedlist>
|
---|
50 | <segtitle>Installed programs</segtitle>
|
---|
51 |
|
---|
52 | <seglistitem>
|
---|
53 | <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
|
---|
54 | pgawk, pgawk-&gawk-version;, and pwcat</seg>
|
---|
55 | </seglistitem>
|
---|
56 | </segmentedlist>
|
---|
57 |
|
---|
58 | <variablelist>
|
---|
59 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
60 | <?dbfo list-presentation="list"?>
|
---|
61 | <?dbhtml list-presentation="table"?>
|
---|
62 |
|
---|
63 | <varlistentry id="awk">
|
---|
64 | <term><command>awk</command></term>
|
---|
65 | <listitem>
|
---|
66 | <para>A link to <command>gawk</command></para>
|
---|
67 | <indexterm zone="ch-system-gawk awk">
|
---|
68 | <primary sortas="b-awk">awk</primary>
|
---|
69 | </indexterm>
|
---|
70 | </listitem>
|
---|
71 | </varlistentry>
|
---|
72 |
|
---|
73 | <varlistentry id="gawk">
|
---|
74 | <term><command>gawk</command></term>
|
---|
75 | <listitem>
|
---|
76 | <para>A program for manipulating text files; it is the GNU
|
---|
77 | implementation of <command>awk</command></para>
|
---|
78 | <indexterm zone="ch-system-gawk gawk">
|
---|
79 | <primary sortas="b-gawk">gawk</primary>
|
---|
80 | </indexterm>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | <varlistentry id="gawk-version">
|
---|
85 | <term><command>gawk-&gawk-version;</command></term>
|
---|
86 | <listitem>
|
---|
87 | <para>A hard link to <command>gawk</command></para>
|
---|
88 | <indexterm zone="ch-system-gawk gawk-version">
|
---|
89 | <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
|
---|
90 | </indexterm>
|
---|
91 | </listitem>
|
---|
92 | </varlistentry>
|
---|
93 |
|
---|
94 | <varlistentry id="grcat">
|
---|
95 | <term><command>grcat</command></term>
|
---|
96 | <listitem>
|
---|
97 | <para>Dumps the group database <filename>/etc/group</filename></para>
|
---|
98 | <indexterm zone="ch-system-gawk grcat">
|
---|
99 | <primary sortas="b-grcat">grcat</primary>
|
---|
100 | </indexterm>
|
---|
101 | </listitem>
|
---|
102 | </varlistentry>
|
---|
103 |
|
---|
104 | <varlistentry id="igawk">
|
---|
105 | <term><command>igawk</command></term>
|
---|
106 | <listitem>
|
---|
107 | <para>Gives <command>gawk</command> the ability to include files</para>
|
---|
108 | <indexterm zone="ch-system-gawk igawk">
|
---|
109 | <primary sortas="b-igawk">igawk</primary>
|
---|
110 | </indexterm>
|
---|
111 | </listitem>
|
---|
112 | </varlistentry>
|
---|
113 |
|
---|
114 | <varlistentry id="pgawk">
|
---|
115 | <term><command>pgawk</command></term>
|
---|
116 | <listitem>
|
---|
117 | <para>The profiling version of <command>gawk</command></para>
|
---|
118 | <indexterm zone="ch-system-gawk pgawk">
|
---|
119 | <primary sortas="b-pgawk">pgawk</primary>
|
---|
120 | </indexterm>
|
---|
121 | </listitem>
|
---|
122 | </varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry id="pgawk-version">
|
---|
125 | <term><command>pgawk-&gawk-version;</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>Hard link to <command>pgawk</command></para>
|
---|
128 | <indexterm zone="ch-system-gawk pgawk-version">
|
---|
129 | <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
|
---|
130 | </indexterm>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry id="pwcat">
|
---|
135 | <term><command>pwcat</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>Dumps the password database <filename>/etc/passwd</filename></para>
|
---|
138 | <indexterm zone="ch-system-gawk pwcat">
|
---|
139 | <primary sortas="b-pwcat">pwcat</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | </variablelist>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | </sect1>
|
---|