LFS-systemd-7.8
[linux_from_scratch.git] / chapter06 / gawk.xml
blob32b8165a37d2718774570e831e88e6be96522b3d
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 ]>
8 <sect1 id="ch-system-gawk" role="wrap">
9   <?dbhtml filename="gawk.html"?>
11   <sect1info condition="script">
12     <productname>gawk</productname>
13     <productnumber>&gawk-version;</productnumber>
14     <address>&gawk-url;</address>
15   </sect1info>
17   <title>Gawk-&gawk-version;</title>
19   <indexterm zone="ch-system-gawk">
20     <primary sortas="a-Gawk">Gawk</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Gawk package contains programs for manipulating text files.</para>
28     <segmentedlist>
29       <segtitle>&buildtime;</segtitle>
30       <segtitle>&diskspace;</segtitle>
32       <seglistitem>
33         <seg>&gawk-ch6-sbu;</seg>
34         <seg>&gawk-ch6-du;</seg>
35       </seglistitem>
36     </segmentedlist>
38   </sect2>
40   <sect2 role="installation">
41     <title>Installation of Gawk</title>
43     <para>Prepare Gawk for compilation:</para>
45 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
47     <para>Compile the package:</para>
49 <screen><userinput remap="make">make</userinput></screen>
51     <para>To test the results, issue:</para>
53 <screen><userinput remap="test">make check</userinput></screen>
55     <para>Install the package:</para>
57 <screen><userinput remap="install">make install</userinput></screen>
59     <para>If desired, install the documentation:</para>
61 <screen><userinput remap="install">mkdir -v /usr/share/doc/gawk-&gawk-version;
62 cp    -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;</userinput></screen>
64   </sect2>
66   <sect2 id="contents-gawk" role="content">
67     <title>Contents of Gawk</title>
69     <segmentedlist>
70       <segtitle>Installed programs</segtitle>
71       <segtitle>Installed libraries</segtitle>
72       <segtitle>Installed directories</segtitle>
74       <seglistitem>
75         <seg>awk (link to gawk), gawk, gawk-&gawk-version;, and igawk</seg>
76         <seg>filefuncs.so, fnmatch.so, fork.so, inplace.so, ordchr.so,
77         readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so,
78         testext.so, and time.so</seg>
79         <seg>/usr/lib/gawk, /usr/libexec/awk, /usr/share/awk, and
80         /usr/share/doc/gawk-&gawk-version;</seg>
81       </seglistitem>
82     </segmentedlist>
84     <variablelist>
85       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
86       <?dbfo list-presentation="list"?>
87       <?dbhtml list-presentation="table"?>
89       <varlistentry id="awk">
90         <term><command>awk</command></term>
91         <listitem>
92           <para>A link to <command>gawk</command></para>
93           <indexterm zone="ch-system-gawk awk">
94             <primary sortas="b-awk">awk</primary>
95           </indexterm>
96         </listitem>
97       </varlistentry>
99       <varlistentry id="gawk">
100         <term><command>gawk</command></term>
101         <listitem>
102           <para>A program for manipulating text files; it is the GNU
103           implementation of <command>awk</command></para>
104           <indexterm zone="ch-system-gawk gawk">
105             <primary sortas="b-gawk">gawk</primary>
106           </indexterm>
107         </listitem>
108       </varlistentry>
110       <varlistentry id="gawk-version">
111         <term><command>gawk-&gawk-version;</command></term>
112         <listitem>
113           <para>A hard link to <command>gawk</command></para>
114           <indexterm zone="ch-system-gawk gawk-version">
115             <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
116           </indexterm>
117         </listitem>
118       </varlistentry>
120       <varlistentry id="igawk">
121         <term><command>igawk</command></term>
122         <listitem>
123           <para>Gives <command>gawk</command> the ability to include files</para>
124           <indexterm zone="ch-system-gawk igawk">
125             <primary sortas="b-igawk">igawk</primary>
126           </indexterm>
127         </listitem>
128       </varlistentry>
130     </variablelist>
132   </sect2>
134 </sect1>