The Gawk package contains programs for manipulating text files.
Prepare Gawk for compilation:
./configure \ --prefix=/usr \ --libexecdir=/usr/lib
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Install the documentation:
mkdir -v /usr/share/doc/gawk-4.1.4
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-4.1.4