Files
master/chapter06/gawk.html
2015-05-23 18:50:06 +08:00

233 lines
7.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content=
"application/xhtml+xml; charset=utf-8" />
<title>
6.47.&nbsp;Gawk-4.1.1
</title>
<link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
<link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css"
media="print" />
</head>
<body class="lfs" id="lfs-7.7-systemd">
<div class="navheader">
<h4>
Linux From Scratch - Version 7.7-systemd
</h4>
<h3>
Chapter&nbsp;6.&nbsp;Installing Basic System Software
</h3>
<ul>
<li class="prev">
<a accesskey="p" href="diffutils.html" title=
"Diffutils-3.3">Prev</a>
<p>
Diffutils-3.3
</p>
</li>
<li class="next">
<a accesskey="n" href="findutils.html" title=
"Findutils-4.4.2">Next</a>
<p>
Findutils-4.4.2
</p>
</li>
<li class="up">
<a accesskey="u" href="chapter06.html" title=
"Chapter&nbsp;6.&nbsp;Installing Basic System Software">Up</a>
</li>
<li class="home">
<a accesskey="h" href="../index.html" title=
"Linux From Scratch - Version 7.7-systemd">Home</a>
</li>
</ul>
</div>
<div class="wrap" lang="en" xml:lang="en">
<h1 class="sect1">
<a id="ch-system-gawk" name="ch-system-gawk"></a>6.47. Gawk-4.1.1
</h1>
<div class="package" lang="en" xml:lang="en">
<p>
The Gawk package contains programs for manipulating text files.
</p>
<div class="segmentedlist">
<div class="seglistitem">
<div class="seg">
<strong class="segtitle">Approximate build time:</strong>
<span class="segbody">0.3 SBU</span>
</div>
<div class="seg">
<strong class="segtitle">Required disk space:</strong>
<span class="segbody">39 MB</span>
</div>
</div>
</div>
</div>
<div class="installation" lang="en" xml:lang="en">
<h2 class="sect2">
6.47.1. Installation of Gawk
</h2>
<p>
Prepare Gawk for compilation:
</p>
<pre class="userinput">
<kbd class="command">./configure --prefix=/usr</kbd>
</pre>
<p>
Compile the package:
</p>
<pre class="userinput">
<kbd class="command">make</kbd>
</pre>
<p>
To test the results, issue:
</p>
<pre class="userinput">
<kbd class="command">make check</kbd>
</pre>
<p>
Install the package:
</p>
<pre class="userinput">
<kbd class="command">make install</kbd>
</pre>
<p>
If desired, install the documentation:
</p>
<pre class="userinput">
<kbd class="command">mkdir -v /usr/share/doc/gawk-4.1.1
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-4.1.1</kbd>
</pre>
</div>
<div class="content" lang="en" xml:lang="en">
<h2 class="sect2">
<a id="contents-gawk" name="contents-gawk"></a>6.47.2. Contents of
Gawk
</h2>
<div class="segmentedlist">
<div class="seglistitem">
<div class="seg">
<strong class="segtitle">Installed programs:</strong>
<span class="segbody">awk (link to gawk), gawk, gawk-4.1.1, and
igawk</span>
</div>
<div class="seg">
<strong class="segtitle">Installed libraries:</strong>
<span class="segbody">filefuncs.so, fnmatch.so, fork.so,
inplace.so, ordchr.so, readdir.so, readfile.so, revoutput.so,
revtwoway.so, rwarray.so, testext.so, and time.so</span>
</div>
<div class="seg">
<strong class="segtitle">Installed directories:</strong>
<span class="segbody">/usr/lib/gawk, /usr/libexec/awk,
/usr/share/awk, and /usr/share/doc/gawk-4.1.1</span>
</div>
</div>
</div>
<div class="variablelist">
<h3>
Short Descriptions
</h3>
<table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top" />
<col />
</colgroup>
<tbody>
<tr>
<td>
<p>
<a id="awk" name="awk"></a><span class=
"term"><span class="command"><strong>awk</strong></span></span>
</p>
</td>
<td>
<p>
A link to <span class=
"command"><strong>gawk</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<a id="gawk" name="gawk"></a><span class=
"term"><span class=
"command"><strong>gawk</strong></span></span>
</p>
</td>
<td>
<p>
A program for manipulating text files; it is the GNU
implementation of <span class=
"command"><strong>awk</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<a id="gawk-version" name="gawk-version"></a><span class=
"term"><span class=
"command"><strong>gawk-4.1.1</strong></span></span>
</p>
</td>
<td>
<p>
A hard link to <span class=
"command"><strong>gawk</strong></span>
</p>
</td>
</tr>
<tr>
<td>
<p>
<a id="igawk" name="igawk"></a><span class=
"term"><span class=
"command"><strong>igawk</strong></span></span>
</p>
</td>
<td>
<p>
Gives <span class="command"><strong>gawk</strong></span>
the ability to include files
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="navfooter">
<ul>
<li class="prev">
<a accesskey="p" href="diffutils.html" title=
"Diffutils-3.3">Prev</a>
<p>
Diffutils-3.3
</p>
</li>
<li class="next">
<a accesskey="n" href="findutils.html" title=
"Findutils-4.4.2">Next</a>
<p>
Findutils-4.4.2
</p>
</li>
<li class="up">
<a accesskey="u" href="chapter06.html" title=
"Chapter&nbsp;6.&nbsp;Installing Basic System Software">Up</a>
</li>
<li class="home">
<a accesskey="h" href="../index.html" title=
"Linux From Scratch - Version 7.7-systemd">Home</a>
</li>
</ul>
</div>
</body>
</html>