Estimated build time: 1 minute Estimated required disk space: 2 MB |
Install Mawk by running the following commands:
./configure && make CC="gcc -static" && make BINDIR=$LFS/usr/bin \ MANDIR=$LFS/usr/share/man/man1 install |
make CC="gcc -static" This is used to build mawk statically.
awk (link to mawk) and mawk
awk is symlinked to mawk for programs which just look for any generic awk.
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.
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