Installing Mawk-1.3.3

Estimated build time:           1 minute
Estimated required disk space:  2 MB

Installation of Mawk

Install Mawk by running the following commands:

./configure &&
make CC="gcc -static" &&
make BINDIR=$LFS/usr/bin \
   MANDIR=$LFS/usr/share/man/man1 install

Command explanations

make CC="gcc -static" This is used to build mawk statically.

Contents of mawk-1.3.3

Program Files

awk (link to mawk) and mawk

Descriptions

awk

awk is symlinked to mawk for programs which just look for any generic awk.

mawk

Mawk is an interpreter for the AWK Programming Language. The AWK language is useful for manipulation of data files, text retrieval and processing, and for prototyping and experimenting with algorithms.

Dependencies

Mawk-1.3.3 needs the following to be installed:


fileutils: chmod, cp, ln, rm
binutils: as, ld
diffutils: cmp
gcc: cc
grep: egrep, grep
make: make
sed: sed
sh-utils: tee
textutils: cat, tr