Automic VaultAutomic Vault

brew

awk を Homebrew, chocolatey, pacman, zypper でインストール

awk のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install awk

local Homebrew formula metadata

概要

パッケージ概要

Text processing scripting language

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 1979: The original Awk paper appeared in Software: Practice and Experience.
  • 1985: Bell Labs technical report CSTR 118 documented the expanded awk language.
  • 1988: The first edition of The AWK Programming Language was published.
  • 2023: The AWK Programming Language, Second Edition was published with an official companion site.
  • 2026: awk.dev continues to point users to the maintained onetrueawk source repository.

Related projects

  • GNU awk, or gawk, is the GNU Project implementation and has its own manual and release stream.
  • mawk is another long-lived awk implementation focused on speed and small size.
  • sed, grep, cut, perl, and shell are neighboring tools in the same Unix text-processing workflow.

セキュリティ状態

保護ツール対応はまだ見つかっていません

awk に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
awkcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版20260426
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/onetrueawk/awk

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/onetrueawk/awk信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:awk
バージョン20260426
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/awk
ホームページhttps://www.cs.princeton.edu/~bwk/btl.mirror/
リポジトリhttps://github.com/onetrueawk/awk
上流ドキュメントhttps://awk.dev/
ライセンスSMLNJ
ソースアーカイブhttps://github.com/onetrueawk/awk/archive/refs/tags/20260426.tar.gz
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameawk
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

pacman95%

gawk 5.4.0-1

GNU version of awk

https://www.gnu.org/software/gawk/

sudo pacman -S gawk
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Awk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gawk from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

gawk 5.4.0-1.1

Domain-specific language for text processing

https://www.gnu.org/software/gawk/

sudo zypper install gawk
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: gawk
  • 6 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Awk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gawk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey95%

awk

choco install awk
  • normalized package name match
  • 一致条件: Awk
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: awk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','autodesk-fusion360'

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment