Install Mawk by running the following commands:
./configure &&
sed \
���s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \
���Makefile | make -f - LDFLAGS=-static &&
make BINDIR=$LFS/usr/bin \
���MANDIR=$LFS/usr/share/man/man1 install
The Mawk package contains the mawk program.
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.