This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Development > mawk (1.3.4_20200120)

mawk (fast awk implementation)

mawk (Mike's AWK) is an interpreter for the AWK Programming
Language. It's a very fast AWK implementation based on a bytecode
interpreter. Originally written by Mike Brennan, mawk is currently
maintained by Thomas E. Dickey.

The AWK language is useful for manipulation of data files, text
retrieval and processing, and for prototyping and experimenting with
algorithms. mawk is a new awk meaning it implements the AWK language as
defined in Aho, Kernighan and Weinberger, The AWK Programming Language,
Addison-Wesley Publishing, 1988.

mawk conforms to the Posix 1003.2 (draft 11.3) definition of the AWK
language which contains a few features not described in the AWK book,
and mawk provides a small number of extensions.

This build does not conflict with Slackware's own awk (from the gawk

By default, mawk is built using its own built-in regular expression
engine. There are some slight differences between this and the glibc
regular expression engine:

- Embedded NUL characters are supported by the built-in engine. For
instance, you can use the hex escape \x00 to match a NUL character.
glibc regexes don't support this.

- POSIX brace syntax is NOT supported by the built-in engine. For
instance, /a{3}/ to match "aaa" but not "a" or "aa". glibc regexes do
support this.

If you require the glibc engine, export BUILTIN_REGEX=no in the script's

The default version in the .info file is 1.3.4, which is a stable
release from 2009. If you'd like to (or need to) build one of the newer
'snapshot' releases, get the source from:

...and export VERSION in the environment. Notice the filenames look
like e.g. "mawk-1.3.4-20171017.tgz". Slackware version numbers can't
contain the hyphen, so use an underscore instead. Example:

# export "VERSION=1.3.4_20171017"

Maintained by: B. Watson
Keywords: awk
ChangeLog: mawk


Source Downloads:
mawk-1.3.4-20200120.tgz (d48752f402d7371d9eb5f68de3da05d4)

Download SlackBuild:
mawk.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds