macOS
brew install dwdifflocal Homebrew formula metadata
sudo port install dwdiffMacPorts ports tree · textproc/dwdiff/Portfile · 来源: api.github.com
安装
brew install dwdifflocal Homebrew formula metadata
sudo port install dwdiffMacPorts ports tree · textproc/dwdiff/Portfile · 来源: api.github.com
sudo apt install dwdiffDebian stable package indexes · dwdiff · 来源: deb.debian.org
nix profile install nixpkgs#dwdiffnixpkgs package indexes · pkgs/by-name/dw/dwdiff/package.nix · 来源: api.github.com
概览
Diff that operates at the word level
历史
dwdiff is G. P. Halkes' word-level diff utility. The official page positions it against wdiff: mostly command-line compatible, but with user-defined whitespace and delimiter handling so punctuation or other single characters can be treated as words.
The official copyright notice covers 2006-2018 and 2020, and the official distribution directory carries 1.0 release artifacts. Later 2.1.x news entries show maintenance releases in 2018 and 2020 for ICU/pkg-config and compiler compatibility rather than feature expansion.
The official download section says several Linux distributions and BSDs shipped packages or ports, naming Fedora, FreeBSD, and OpenBSD, with additional Unix packaging through Sunfreeware, MacPorts, Homebrew, Slackbuilds.org, Slacky.eu, and OpenPKG. The batch input adds Debian, Ubuntu, Nix, MacPorts, and Homebrew entries.
dwdiff compares text at word granularity and prints the new text annotated with insertion and deletion markers by default. It is useful when line diffs are too coarse, especially prose, documentation, localization, and wrapped text where changed words matter more than changed lines.
dwdiff matters because it is a classic small Unix text-processing tool that fills the gap between line-oriented diff and heavier document comparison. Its compatibility with wdiff plus delimiter controls made it packageable as a drop-in word-diff option across many Unix packaging systems.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dwdiff | cli | 全局可执行文件 | |
dwfilter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://os.ghalkes.nl/dwdiff.html
安装元数据
| 软件包键 | brew:dwdiff |
|---|---|
| 版本 | 2.1.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dwdiff |
| 主页 | https://os.ghalkes.nl/dwdiff.html |
| 上游文档 | https://os.ghalkes.nl/dwdiff.html |
| 许可证 | GPL-3.0-only |
| 源码归档 | https://os.ghalkes.nl/dist/dwdiff-2.1.4.tar.bz2 |
| 最后更新 | 2026-06-22T14:03:13-07:00 |
| Pulse | updated |
| 依赖 | gettext, icu4c@78 |
| 构建依赖 | gettext, pkgconf |
| 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 | dwdiff |
| Version Scheme | 0 |
| Revision | 11 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dwdiff 2.1.4-2+b3
diff program that operates word by word
https://os.ghalkes.nl/dwdiff.html
sudo apt install dwdiffdwdiff
nix profile install nixpkgs#dwdiffdwdiff 2.1.4-2build2
diff program that operates word by word
https://os.ghalkes.nl/dwdiff.html
sudo apt install dwdiffdwdiff
sudo port install dwdiff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.