macOS
brew install wdifflocal Homebrew formula metadata
sudo port install wdiffMacPorts ports tree · textproc/wdiff/Portfile · ソース: api.github.com
brew
wdiff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install wdifflocal Homebrew formula metadata
sudo port install wdiffMacPorts ports tree · textproc/wdiff/Portfile · ソース: api.github.com
sudo apt install wdiffDebian stable package indexes · wdiff · ソース: deb.debian.org
sudo dnf install wdiffFedora Rawhide package metadata · wdiff · ソース: dl.fedoraproject.org
nix profile install nixpkgs#wdiffnixpkgs package indexes · pkgs/by-name/wd/wdiff/package.nix · ソース: api.github.com
sudo pacman -S wdiffArch Linux sync databases · wdiff · ソース: geo.mirror.pkgbuild.com
sudo zypper install wdiffopenSUSE Tumbleweed package metadata · wdiff · ソース: download.opensuse.org
概要
Display word differences between text files
履歴
GNU wdiff is a word-oriented front end to diff. Instead of showing line-level changes, it tokenizes text into words, compares the temporary word-per-line forms with diff, and then reconstructs output that highlights word additions and deletions in the original text.
Its niche is prose and documentation review: it is useful when paragraphs have been reflowed or wrapped differently and a normal line diff would make a small wording change look like a large block replacement.
The GNU wdiff NEWS file records the first public release, version 0.00, in August 1992 by Francois Pinard. Pinard continued the early series through version 0.5 in November 1994, adding behavior such as case-insensitive comparison and standard-input handling.
In June 2007, Denver Gingerich released 0.5.4 and integrated changes from Pinard's 0.5g work from November 1998, including internationalized program messages and short manual pages for related tools. Martin von Gagern then revived the package with version 0.6.0 in March 2010, described by GNU as the first official release in a long time, and moved development from CVS to Bazaar.
The package reached version 1.0.0 in September 2011, with the version bump explicitly marking maturity. Later releases improved translations, Unicode and pager behavior, gnulib integration, and build-system maintenance. GNU lists version 1.2.2 from April 2014 as a release by Martin von Gagern and names him as the current maintainer on the project page.
The basic command compares an old file and a new file and prints an annotated copy of the new file. The default markers can be replaced with custom strings, terminal highlighting, less-compatible highlighting, LaTeX or troff markup, or ANSI color sequences.
wdiff can also consume a unified diff with the -d option, which makes it a post-processor for version-control output. Its companion tools include mdiff for multi-difference or cluster-oriented comparison, unify for converting context diffs and unified diffs, and wdiff2 as an experimental successor using mdiff as its backend.
wdiff is one of the small GNU text-processing tools that fills a gap left by line-based diff. It is not a version-control system feature or a rich review UI; it is a composable filter that can be piped into pagers, formatters, sed scripts, or documentation workflows.
For package-history purposes, it is also a neat example of GNU maintenance continuity: an early-1990s utility by Francois Pinard, revived and modernized in the 2010s with gnulib, gettext, autotools, translation updates, and Bazaar-hosted development.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mdiff | cli | グローバル実行可能ファイル | |
unify | cli | グローバル実行可能ファイル | |
wdiff | cli | グローバル実行可能ファイル | |
wdiff2 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/wdiff/
インストールメタデータ
| パッケージキー | brew:wdiff |
|---|---|
| バージョン | 1.2.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/wdiff |
| ホームページ | https://www.gnu.org/software/wdiff/ |
| リポジトリ | http://bzr.savannah.gnu.org/r/wdiff/trunk |
| 上流ドキュメント | https://www.gnu.org/software/wdiff |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/wdiff/wdiff-1.2.2.tar.gz |
| 依存関係 | gettext |
| ビルド依存関係 | texinfo |
| macOS 提供ライブラリ | ncurses |
| 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 | wdiff |
| Version Scheme | 0 |
| Revision | 2 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
wdiff 1.2.2-9
Compares two files word by word
https://www.gnu.org/software/wdiff/
sudo apt install wdiffwdiff-doc 1.2.2-9
Documentation for GNU wdiff
https://www.gnu.org/software/wdiff/
sudo apt install wdiff-docwdiff
nix profile install nixpkgs#wdiffwdiff 1.2.2-6build1
Compares two files word by word
https://www.gnu.org/software/wdiff/
sudo apt install wdiffwdiff-doc 1.2.2-6build1
Documentation for GNU wdiff
https://www.gnu.org/software/wdiff/
sudo apt install wdiff-docwdiff 1.2.2-58.fc45
Compare files on a word per word basis
https://www.gnu.org/software/wdiff/
sudo dnf install wdiffwdiff 1.2.2-5
A wordwise implementation of GNU diff
https://www.gnu.org/software/wdiff/
sudo pacman -S wdiffwdiff 1.2.2-9.5
Display Word Differences Between Text Files
https://www.gnu.org/software/wdiff/
sudo zypper install wdiffwdiff-lang 1.2.2-9.5
Translations for package wdiff
https://www.gnu.org/software/wdiff/
sudo zypper install wdiff-langwdiff
sudo port install wdiffunify
nix profile install nixpkgs#unifyソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.