macOS
brew install bcpplocal Homebrew formula metadata
sudo port install bcppMacPorts ports tree · devel/bcpp/Portfile · 来源: api.github.com
安装
brew install bcpplocal Homebrew formula metadata
sudo port install bcppMacPorts ports tree · devel/bcpp/Portfile · 来源: api.github.com
sudo zypper install bcppopenSUSE Tumbleweed package metadata · bcpp · 来源: download.opensuse.org
winget install --id Slackadays.Clipboard -eWindows Package Manager source index · Slackadays.Clipboard · 来源: cdn.winget.microsoft.com
概览
C(++) beautifier
历史
bcpp is a C and C++ source-code beautifier that indents code and converts tabs and spaces without trying to wrap long statements.
The Invisible Island page says bcpp was written by Steven De Toni and that Thomas E. Dickey's maintained version was based on version 1.8 from December 1995.
Dickey's version kept the original design while improving the parser, marking character state, recognizing more indentation structures, and adding simple embedded-SQL indentation. The public changelog begins in 1996 and continues with portability and maintenance updates into the 2020s.
bcpp has the footprint of a long-lived Unix formatting utility: small, source-distributed, and packaged by Homebrew, Debian, MacPorts, Ubuntu, and openSUSE-family package sets in the supplied package-manager facts.
Its 2012 changelog notes integration of Debian packaging patches, including searching for bcpp.cfg in a user's home directory and an optional compile-time directory.
Users run bcpp or cb++ to reindent C/C++ source, tune behavior through command-line options or bcpp.cfg, and preserve long statements rather than using it as a full code reflow tool.
It is most relevant for legacy C/C++ style normalization, old trees, and users who want a formatter less ambitious than clang-format or GNU indent.
bcpp is a compact example of the pre-clang-format formatter era: a focused utility with decades of packaging inertia and maintenance for old compilers, old Unix systems, and distribution conventions.
For package nerds, its value is historical texture as much as raw popularity: it shows how source-formatting tools survived as tiny standalone packages before modern language-server and formatter ecosystems consolidated.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bcpp | cli | 全局可执行文件 | |
cb++ | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://invisible-island.net/bcpp/
安装元数据
| 软件包键 | brew:bcpp |
|---|---|
| 版本 | 20250914 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bcpp |
| 主页 | https://invisible-island.net/bcpp/ |
| 上游文档 | https://invisible-island.net/bcpp |
| 许可证 | MIT |
| 源码归档 | https://invisible-mirror.net/archives/bcpp/bcpp-20250914.tgz |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bcpp |
| 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 软件包链接分开显示。
bcpp 0.0.20210108-1+b1
C(++) beautifier
http://www.invisible-island.net/bcpp/
sudo apt install bcppbcpp 0.0.20210108-1
C(++) beautifier
http://www.invisible-island.net/bcpp/
sudo apt install bcppbcpp 20250914-1.3
Beautify C++ programs
https://invisible-island.net/bcpp/bcpp.html
sudo zypper install bcppbcpp
sudo port install bcppSlackadays.Clipboard
winget install --id Slackadays.Clipboard -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.