6.21. Gawk-3.1.5

The Gawk package contains programs for manipulating text files.

User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/gawk

6.21.1. Installation of Gawk

This patch corrects a bug when gawk is run on a non-existant file:

patch -Np1 -i ../gawk-3.1.5-segfault_fix-1.patch

Prepare Gawk for compilation:

./configure --prefix=/usr --libexecdir=/usr/lib

Gawk's configure script does not detect some functionality correctly:

echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
echo "#define HAVE_LC_MESSAGES 1" >> config.h

Compile the package:

make

To test the results, issue: make check.

Install the package:

make install

6.21.2. Contents of Gawk

Installed programs: awk (link to gawk), gawk, gawk-3.1.5, grcat, igawk, pgawk, pgawk-3.1.5, and pwcat

Short Descriptions

awk

A link to gawk

gawk

A program for manipulating text files; it is the GNU implementation of awk

gawk-3.1.5

A hard link to gawk

grcat

Dumps the group database /etc/group

igawk

Gives gawk the ability to include files

pgawk

The profiling version of gawk

pgawk-3.1.5

Hard link to pgawk

pwcat

Dumps the password database /etc/passwd