macOS
brew install gnu-indentlocal Homebrew formula metadata
sudo port install gindentMacPorts ports tree · devel/gindent/Portfile · 来源: api.github.com
安装
brew install gnu-indentlocal Homebrew formula metadata
sudo port install gindentMacPorts ports tree · devel/gindent/Portfile · 来源: api.github.com
概览
C code prettifier
历史
GNU indent is the GNU Project's C source formatter, a command-line tool for changing whitespace and layout without changing program meaning. Its manual describes it as a formatter for C programs that can make code easier to read and convert between styles.
The GNU manual records Free Software Foundation copyright years beginning in 1989 and describes behavioral changes across early GNU indent releases, including GNU-style indentation as the default from version 1.2 and a revised command format from version 1.3. The formatter retained compatibility concepts from older indent implementations, including an option preset for the original Berkeley style, while making GNU style a first-class default.
GNU indent became part of the long-lived GNU command-line toolchain for projects that wanted reproducible C formatting before newer formatters became widespread. Its homepage points users to GNU mirrors, Savannah development, Info and man documentation, and the GNU bug-tracking workflow, placing it in the same distribution culture as other standalone GNU utilities.
Practitioners use GNU indent to reformat C source files, write formatted output to a separate file or standard output, and select known style presets such as GNU, K&R, Berkeley, or Linux. It also supports a profile file mechanism, so teams or individual developers can keep repeated formatting options outside the command line.
For package maintainers, GNU indent is a small but characteristic GNU utility: mostly invoked as a build or maintenance tool, sensitive to C dialect details, and useful when a project wants GNU formatting behavior rather than the indent variant supplied by another Unix.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gindent | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/indent/
安装元数据
| 软件包键 | brew:gnu-indent |
|---|---|
| 版本 | 2.2.13 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gnu-indent |
| 主页 | https://www.gnu.org/software/indent/ |
| 仓库 | https://git.savannah.gnu.org/cgit/indent.git |
| 上游文档 | https://www.gnu.org/software/indent/manual/indent.html |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/indent/indent-2.2.13.tar.gz |
| 依赖 | gettext |
| 构建依赖 | texinfo |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | GNU "indent" has been installed as "gindent". If you need to use it as "indent", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/gnu-indent/libexec/gnubin:$PATH" |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-indent |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gindent
sudo port install gindent来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.