macOS
brew install combylocal Homebrew formula metadata
安装
brew install combylocal Homebrew formula metadata
nix profile install nixpkgs#combynixpkgs package indexes · comby · 来源: raw.githubusercontent.com
概览
Tool for changing code across many languages
历史
Comby is a structural search-and-replace tool for source code. It occupies the space between regex-based text replacement and full language-specific refactoring engines.
Comby's documentation presents the core idea as lightweight matching of syntactic structures such as balanced delimiters, strings, and comments across many languages. The README frames it as a practical alternative when regular expressions become fragile for nested code constructs.
The official README documents Homebrew installation on macOS, binaries for Ubuntu-like Linux systems, Docker images, Windows use through WSL, and source builds through OCaml/opam. The supplied package-manager metadata lists Homebrew and Nix, while the upstream distribution story emphasizes prebuilt binaries and containers.
Users write templates with holes such as `:[condition]` to match code structures and replacements that preserve or transform matched parts. Comby is commonly used for large mechanical code changes, interactive review of rewrites, and language-aware searches where plain `sed` or regexes are too coarse.
Comby matters to package nerds because it packages a source-to-source transformation engine as a single CLI spanning many languages. Its OCaml implementation, PCRE linkage, binary distribution, Docker image, and Homebrew/Nix formulas make it a useful case study in shipping a specialized developer tool beyond one language ecosystem.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
comby | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/comby-tools/comby
安装元数据
| 软件包键 | brew:comby |
|---|---|
| 版本 | 1.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/comby |
| 主页 | https://comby.dev |
| 仓库 | https://github.com/comby-tools/comby |
| 上游文档 | https://comby.dev/docs/basic-usage |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/comby-tools/comby/archive/refs/tags/1.8.1.tar.gz |
| 依赖 | gmp, libev, pcre |
| 构建依赖 | autoconf, gmp, ocaml@4, opam, pkgconf |
| macOS 提供的库 | m4, sqlite, unzip |
| 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 | comby |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
comby
nix profile install nixpkgs#comby来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.