Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 wdiff

查看 wdiff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wdiff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wdiff

MacPorts ports tree · textproc/wdiff/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install wdiff

Debian stable package indexes · wdiff · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install wdiff

Fedora Rawhide package metadata · wdiff · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#wdiff

nixpkgs package indexes · pkgs/by-name/wd/wdiff/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S wdiff

Arch Linux sync databases · wdiff · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install wdiff

openSUSE Tumbleweed package metadata · wdiff · 来源: download.opensuse.org

概览

软件包摘要

Display word differences between text files

命令和别名

  • mdiff
  • unify
  • wdiff
  • wdiff2

历史

项目历史与用法

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.

时间线

  • 1992-08: wdiff 0.00 is released by Francois Pinard.
  • 1994-11: wdiff 0.5 is released, still in the Pinard-led early series.
  • 2007-06: wdiff 0.5.4 integrates older 0.5g-era work and adds packaging/documentation improvements.
  • 2010-03: wdiff 0.6.0 becomes the first official release in a long time and switches source control from CVS to Bazaar.
  • 2011-09: wdiff 1.0.0 is released to reflect package maturity.
  • 2014-04: wdiff 1.2.2 updates translations, gnulib, and autotools.

Related projects

  • wdiff builds on GNU diffutils diff and is distributed in the GNU ecosystem alongside tools such as gettext, gnulib, and other command-line text processors. Its own manual also documents mdiff, unify, and wdiff2.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mdiffcli全局可执行文件
unifycli全局可执行文件
wdiffcli全局可执行文件
wdiff2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.2.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/wdiff/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/wdiff/none 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namewdiff
Version Scheme0
Revision2
Conflicts With
  • montage
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

wdiff 1.2.2-9

Compares two files word by word

https://www.gnu.org/software/wdiff/

sudo apt install wdiff
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Wdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

wdiff-doc 1.2.2-9

Documentation for GNU wdiff

https://www.gnu.org/software/wdiff/

sudo apt install wdiff-doc
  • Section: doc
  • Architecture: all
  • Source Package: wdiff
  • normalized package name match
  • 匹配方式:Wdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wdiff-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

wdiff

nix profile install nixpkgs#wdiff
  • normalized package name match
  • 匹配方式:Wdiff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wd/wdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

wdiff 1.2.2-6build1

Compares two files word by word

https://www.gnu.org/software/wdiff/

sudo apt install wdiff
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Wdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wdiff from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

wdiff-doc 1.2.2-6build1

Documentation for GNU wdiff

https://www.gnu.org/software/wdiff/

sudo apt install wdiff-doc
  • Section: doc
  • Architecture: all
  • Source Package: wdiff
  • normalized package name match
  • 匹配方式:Wdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wdiff-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
dnf95%

wdiff 1.2.2-58.fc45

Compare files on a word per word basis

https://www.gnu.org/software/wdiff/

sudo dnf install wdiff
  • License: GPL-3.0-or-later AND Latex2e
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wdiff
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Wdiff
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wdiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

wdiff 1.2.2-5

A wordwise implementation of GNU diff

https://www.gnu.org/software/wdiff/

sudo pacman -S wdiff
  • License: GPL3
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Wdiff
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wdiff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wdiff 1.2.2-9.5

Display Word Differences Between Text Files

https://www.gnu.org/software/wdiff/

sudo zypper install wdiff
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: wdiff
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wdiff
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wdiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

wdiff-lang 1.2.2-9.5

Translations for package wdiff

https://www.gnu.org/software/wdiff/

sudo zypper install wdiff-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: wdiff
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Wdiff
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wdiff-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

wdiff

sudo port install wdiff
  • normalized package name match
  • 匹配方式:Wdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/wdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

unify

nix profile install nixpkgs#unify
  • installed executable or alias match
  • 匹配方式:Unify
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: unify from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment