5.13. Installing Mawk

5.13.1. Installation of Mawk

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

5.13.2. Contents

The Mawk package contains the mawk program.

5.13.3. Description

5.13.3.1. 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.