macOS
brew install cppilocal Homebrew formula metadata
安装
brew install cppilocal Homebrew formula metadata
sudo dnf install cppiFedora Rawhide package metadata · cppi · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cppinixpkgs package indexes · pkgs/by-name/cp/cppi/package.nix · 来源: api.github.com
sudo zypper install cppiopenSUSE Tumbleweed package metadata · cppi · 来源: download.opensuse.org
概览
Indent C preprocessor directives to reflect their nesting
历史
GNU cppi is a small GNU developer tool for indenting C preprocessor directives so their nesting is visible.
The package is maintained as a GNU program, with Savannah hosting its project and source repository and GNU publishing the user manual and release tarballs.
Its adoption is typical of compact GNU command-line utilities: it appears in Unix package collections as a formatting and lint-adjacent aid for C and C++ source trees.
cppi is used from the command line on source files to make conditional-preprocessor structure easier to review by aligning directives with their nesting level.
The package matters to maintainers because it is narrowly scoped, reproducibly distributed through GNU release archives, and useful in style or cleanup pipelines without pulling in a full C formatter.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cppi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/cppi/
安装元数据
| 软件包键 | brew:cppi |
|---|---|
| 版本 | 1.18 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cppi |
| 主页 | https://www.gnu.org/software/cppi/ |
| 仓库 | https://git.savannah.gnu.org/git/cppi.git |
| 上游文档 | https://www.gnu.org/software/cppi |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/cppi/cppi-1.18.tar.xz |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cppi |
| 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 软件包链接分开显示。
cppi 1.18-3
adjusts or checks indentation of C and C++ preprocessor directives
https://www.gnu.org/software/cppi/
sudo apt install cppicppi
nix profile install nixpkgs#cppicppi 1.18-28.fc44
C preprocessor directive indenter
http://savannah.gnu.org/projects/cppi/
sudo dnf install cppicppi 1.18-2.33
C preprocessor directive indenter
https://savannah.gnu.org/projects/cppi
sudo zypper install cppicppi-lang 1.18-2.33
Translations for package cppi
https://savannah.gnu.org/projects/cppi
sudo zypper install cppi-lang来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.