macOS
brew install numdifflocal Homebrew formula metadata
sudo port install numdiffMacPorts ports tree · science/numdiff/Portfile · 来源: api.github.com
安装
brew install numdifflocal Homebrew formula metadata
sudo port install numdiffMacPorts ports tree · science/numdiff/Portfile · 来源: api.github.com
sudo apt install numdiffDebian stable package indexes · numdiff · 来源: deb.debian.org
nix profile install nixpkgs#numdiffnixpkgs package indexes · pkgs/by-name/nu/numdiff/package.nix · 来源: api.github.com
概览
Putative files comparison tool
历史
Numdiff is a small, long-lived NonGNU utility by Ivano Primi for comparing files that contain numeric fields. Its reason to exist is simple: ordinary `diff`, `cmp`, and `wdiff` do not know that two textual representations may be numerically equivalent, nor can they ignore numeric changes below a requested tolerance.
The official manual for Numdiff 5.9 carries copyrights from 2005 through 2017 and documents a mature Unix-style C program built with the usual `configure`, `make`, and `make install` workflow. The 5.9 manual also notes that older 5.x releases accepted fewer options and that 4.0.0 and 3.x used a different output format, so the package has a real pre-5.x history even though public narrative sources are sparse.
Numdiff has modest adoption: it is packaged by Homebrew, Debian/Ubuntu, MacPorts, Nix, and GNU Guix, but it is not a broad ecosystem cornerstone. Homebrew's formula page listed only 43 installs over 365 days on July 1, 2026, which fits the profile of a specialist testing/scientific utility that users reach for when normal diffs are too literal.
The practical workflow is comparing generated numeric output line by line and field by field while setting absolute or relative tolerances and accepting equivalent numeric notation. Numdiff also ships `ndselect` for selecting lines and fields, and version 5.9 added a raw output format intended for machine parsing.
Numdiff is the classic package-manager long tail: tiny, stable, GPL-licensed, and exactly useful when validating numerical programs whose outputs vary by rounding, notation, platform, compiler, or BLAS implementation. It is most likely to appear in regression-test scripts, scientific-code QA, and packaging test fixtures.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ndselect | cli | 全局可执行文件 | |
numdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.nongnu.org/numdiff
安装元数据
| 软件包键 | brew:numdiff |
|---|---|
| 版本 | 5.9.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/numdiff |
| 主页 | https://www.nongnu.org/numdiff |
| 上游文档 | https://www.nongnu.org/numdiff/numdiff.html |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://download.savannah.gnu.org/releases/numdiff/numdiff-5.9.0.tar.gz |
| 依赖 | gmp |
| 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 | numdiff |
| 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 软件包链接分开显示。
numdiff 5.9.0-2
Compare similar files with numeric fields
sudo apt install numdiffnumdiff
nix profile install nixpkgs#numdiffnumdiff 5.9.0-1
Compare similar files with numeric fields
sudo apt install numdiffnumdiff
sudo port install numdiff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.