Awk
Awk is a great scripting language: think of it as a simple, clean Perl.
I was the danallen@microsoft.com who contributed a few build scripts to Brian Kernighan's
one-true-awk. The official Awk website is here:
https://github.com/onetrueawk/awk
The older download has an Awk variant that has all of Kernighan's official sources, plus under #ifdef a few changes
to improve Awk under MPW on the original Mac OS, such as a Commando interface shown here:
Download
There are two downloads here: one from 2003, and one from 2025.
The newer Zip archive AwkSrc2025.zip, contains:
- a newly built Win32 32-bit build of awk for modern Windows
- a Mac OS X Universal Binary for both Intel x64 & Apple Silicon arm64
- the full C Kernighan sources
- a Makefile for use with Visual C++ on Windows
- a build script for Mac/BSD/Linux.
This is the 20251225 version of awk, the archive is 414 KB, and is available here.
The older Zip archive AwkSrc2003.zip contains:
- awk.exe, an executible tool for Win32 (Windows 95/98/ME/2000/XP)
- awk, an MPW PowerPC native tool for use with Mac OS 9 or Classic under Mac OS X
- The Commando interface shown above
- The full C Kernighan sources (my changes marked with "DKA")
- Makefiles and scripts to build on Windows, Mac OS 9, Mac OS X, FreeBSD, Linux, or Unix.
To download this 273 KB archive, click here.
Sample Scripts
To see how simple Awk is, here are a few Awk scripts.
Back to Dan Allen's home page.
Created: 27 Feb 2001
Modified: 8 Aug 2026