macOS
brew install gawklocal Homebrew formula metadata
sudo port install gawkMacPorts ports tree · lang/gawk/Portfile · 来源: api.github.com
安装
brew install gawklocal Homebrew formula metadata
sudo port install gawkMacPorts ports tree · lang/gawk/Portfile · 来源: api.github.com
sudo apk add gawkAlpine Linux edge package indexes · gawk · 来源: dl-cdn.alpinelinux.org
sudo dnf install gawkFedora Rawhide package metadata · gawk · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gawknixpkgs package indexes · gawk · 来源: raw.githubusercontent.com
sudo pacman -S gawkArch Linux sync databases · gawk · 来源: geo.mirror.pkgbuild.com
sudo zypper install gawkopenSUSE Tumbleweed package metadata · gawk · 来源: download.opensuse.org
choco install gawkChocolatey community package catalog · gawk · 来源: community.chocolatey.org
scoop install main/gawkScoop official bucket manifest trees · bucket/gawk.json · 来源: api.github.com
概览
GNU awk utility
历史
GNU Awk, usually packaged as `gawk`, is the GNU implementation of the AWK text-processing language. It is both a POSIX-style command-line utility and a scripting language for scanning records, matching patterns, and running actions over structured text.
AWK originated at Bell Labs and is named for Alfred Aho, Peter Weinberger, and Brian Kernighan. GNU Awk carries that language into the GNU system, implementing standard awk behavior along with GNU extensions, internationalization support, networking features, extension mechanisms, and extensive documentation.
gawk became the default awk implementation in many GNU/Linux environments and is packaged across the major Unix-like package managers. Its broad package coverage reflects awk's status as part of the everyday Unix text-processing toolkit, used in shell scripts, build systems, log processing, reports, and one-liners.
Users commonly invoke `awk` or `gawk` with short programs such as pattern-action rules on the command line, or with script files for larger transformations. The GNU manual documents command-line invocation, regular expressions, fields, records, arrays, functions, internationalization, debugging, profiling, and compatibility modes.
gawk is one of the canonical packages that makes a Unix userland feel complete. Package maintainers care about it because countless scripts assume an awk implementation, while GNU Awk specifically exposes GNU behavior that may differ from minimalist awks, mawk, BusyBox awk, or platform awk implementations.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gawk | cli | 全局可执行文件 | |
gawk-5.4.0 | cli | 全局可执行文件 | |
gawkbug | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/gawk/
安装元数据
| 软件包键 | brew:gawk |
|---|---|
| 版本 | 5.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gawk |
| 主页 | https://www.gnu.org/software/gawk/ |
| 仓库 | https://git.savannah.gnu.org/git/gawk.git |
| 上游文档 | https://www.gnu.org/software/gawk/manual |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/gawk/gawk-5.4.0.tar.xz |
| 依赖 | gettext, gmp, mpfr, readline |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | GNU "awk" has been installed as "gawk". If you need to use it as "awk", you can add a "gnubin" directory to your PATH from your ~/.bashrc and/or ~/.zshrc like: PATH="$HOMEBREW_PREFIX/opt/gawk/libexec/gnubin:$PATH" |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gawk |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gawk 1:5.2.1-2+b1
GNU awk, a pattern scanning and processing language
http://www.gnu.org/software/gawk/
sudo apt install gawkgawk
nix profile install nixpkgs#gawkgawk 1:5.2.1-2build3
GNU awk, a pattern scanning and processing language
http://www.gnu.org/software/gawk/
sudo apt install gawkgawk 5.3.2-r2
GNU awk pattern-matching language
https://www.gnu.org/software/gawk/gawk.html
sudo apk add gawkgawk-doc 5.3.2-r2
GNU awk pattern-matching language (documentation)
https://www.gnu.org/software/gawk/gawk.html
sudo apk add gawk-docgawk 5.4.0-3.fc45
The GNU version of the AWK text processing utility
https://www.gnu.org/software/gawk/
sudo dnf install gawkgawk-all-langpacks 5.4.0-3.fc45
Additional localisation files for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-all-langpacksgawk-devel 5.4.0-3.fc45
Header file for gawk extensions development
https://www.gnu.org/software/gawk/
sudo dnf install gawk-develgawk-doc 5.4.0-3.fc45
Additional documentation for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-docgawk 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 gawkgawk
sudo port install gawkgawk
choco install gawkmain/gawk
scoop install main/gawk来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.