macOS
brew install awklocal Homebrew formula metadata
brew
Text processing scripting language. Version 20260426 via Homebrew; verified from local package data. Also installable with pacman: sudo pacman -S gawk.
install
brew install awklocal Homebrew formula metadata
sudo pacman -S gawkArch Linux sync databases · gawk · source: geo.mirror.pkgbuild.com
sudo zypper install gawkopenSUSE Tumbleweed package metadata · gawk · source: download.opensuse.org
choco install awkChocolatey community package catalog · awk · source: community.chocolatey.org
overview
Text processing scripting language
history
One True Awk is Brian Kernighan's maintained awk implementation, packaged by Homebrew as awk. It is the direct lineage most Unix people mean when they say awk as a small pattern-action language for scanning text, selecting fields, computing summaries, and printing reports.
Awk was developed at Bell Labs by Alfred Aho, Brian Kernighan, and Peter Weinberger. The original paper, referenced from the official awk.dev site, describes awk as a pattern scanning and processing language; the 1985 technical report covered the expanded language that became the basis for the 1988 book.
The official awk.dev page for The AWK Programming Language, Second Edition says the first edition was written by Aho, Kernighan, and Weinberger in 1988, and points to the maintained source at github.com/onetrueawk/awk. That repository is the modern home for the implementation commonly called One True Awk.
Awk spread through Unix culture because it sits between grep, sed, cut, and a full programming language. Its pattern-action model lets shell users write small data programs directly in pipelines without compiling anything or creating a larger script project.
The 2023 second edition of The AWK Programming Language and the continuing maintenance of the onetrueawk repository are part of awk's unusual afterlife: an old Unix language remains relevant because CSV-ish logs, columnar text, and quick data checks have not gone away.
Typical usage is inline and pipeline-oriented: match records, split fields, accumulate counters, transform columns, and print reports. The man page and historical papers emphasize scanning input lines for patterns and executing actions for matching lines.
There is no project-specific config or credential file. Awk programs are supplied on the command line or in script files, and behavior is controlled by variables, input files, and environment inherited from the shell.
For package nerds, awk is a tiny package with oversized cultural weight. It overlaps with POSIX awk, BWK awk, gawk, mawk, and system-provided /usr/bin/awk, so the packaging question is often which awk you are intentionally installing rather than whether awk exists at all.
Homebrew's awk formula is useful on macOS because it gives users a current One True Awk without replacing the system awk. That makes it attractive for people testing portability, newer awk fixes, or scripts that should stay close to the original language rather than GNU awk extensions.
security posture
No matching local secret-handling manifest was found for awk. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
awk | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/onetrueawk/awk
install metadata
| Package key | brew:awk |
|---|---|
| Version | 20260426 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/awk |
| Homepage | https://www.cs.princeton.edu/~bwk/btl.mirror/ |
| Repository | https://github.com/onetrueawk/awk |
| Upstream docs | https://awk.dev/ |
| License | SMLNJ |
| Source archive | https://github.com/onetrueawk/awk/archive/refs/tags/20260426.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | awk |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gawk 5.4.0-1
GNU version of awk
https://www.gnu.org/software/gawk/
sudo pacman -S gawkgawk 5.4.0-1.1
Domain-specific language for text processing
https://www.gnu.org/software/gawk/
sudo zypper install gawkawk
choco install awksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.