macOS
brew install patchutilslocal Homebrew formula metadata
sudo port install patchutilsMacPorts ports tree · devel/patchutils/Portfile · 来源: api.github.com
安装
brew install patchutilslocal Homebrew formula metadata
sudo port install patchutilsMacPorts ports tree · devel/patchutils/Portfile · 来源: api.github.com
sudo apk add patchutilsAlpine Linux edge package indexes · patchutils · 来源: dl-cdn.alpinelinux.org
sudo apt install patchutilsDebian stable package indexes · patchutils · 来源: deb.debian.org
sudo dnf install patchutilsFedora Rawhide package metadata · patchutils · 来源: dl.fedoraproject.org
nix profile install nixpkgs#patchutilsnixpkgs package indexes · patchutils · 来源: raw.githubusercontent.com
sudo pacman -S patchutilsArch Linux sync databases · patchutils · 来源: geo.mirror.pkgbuild.com
sudo zypper install patchutilsopenSUSE Tumbleweed package metadata · patchutils · 来源: download.opensuse.org
概览
Small collection of programs that operate on patch files
历史
patchutils is a suite of command-line programs for inspecting, transforming, comparing, filtering, splitting, and repairing patch files.
Tim Waugh developed patchutils as a collection of small programs operating on patch files. The suite accumulated tools for combining, filtering, splitting, comparing, recounting, and correcting diffs. After a period of low release activity, the maintainer released version 0.4.3 in 2025—the first release since 2020—with accumulated fixes, new in-place editing options, improved cross-platform support through gnulib, and enhanced diff handling.
patchutils is distributed by numerous Unix-like package systems, including Debian, Ubuntu, Fedora-family distributions, Alpine, Arch Linux, Nix, openSUSE, Homebrew, and MacPorts. This broad packaging reflects the suite's durable role in source-based development and distribution-maintenance workflows.
Users choose focused utilities such as filterdiff to select portions of a patch, interdiff to compare patch revisions, combinediff to merge incremental patches, lsdiff or grepdiff to inspect patch contents, splitdiff to separate patches, and rediff or recountdiff to repair diff metadata. The tools are designed to compose naturally with files, pipes, and source-control output.
patchutils turns patch files into manipulable data rather than treating them only as input to patch. Its focused commands support the everyday work of downstream maintainers: selecting hunks, comparing patch revisions, repairing metadata, inspecting affected files, and reorganizing patch series.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
combinediff | cli | 全局可执行文件 | |
dehtmldiff | cli | 全局可执行文件 | |
editdiff | cli | 全局可执行文件 | |
espdiff | cli | 全局可执行文件 | |
filterdiff | cli | 全局可执行文件 | |
fixcvsdiff | cli | 全局可执行文件 | |
flipdiff | cli | 全局可执行文件 | |
gitdiff | cli | 全局可执行文件 | |
gitdiffview | cli | 全局可执行文件 | |
gitshow | cli | 全局可执行文件 | |
gitshowview | cli | 全局可执行文件 | |
grepdiff | cli | 全局可执行文件 | |
interdiff | cli | 全局可执行文件 | |
lsdiff | cli | 全局可执行文件 | |
move-to-front | cli | 全局可执行文件 | |
patchview | cli | 全局可执行文件 | |
patchview-wrapper | cli | 全局可执行文件 | |
recountdiff | cli | 全局可执行文件 | |
rediff | cli | 全局可执行文件 | |
splitdiff | cli | 全局可执行文件 | |
svndiff | cli | 全局可执行文件 | |
svndiffview | cli | 全局可执行文件 | |
unwrapdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/twaugh/patchutils
安装元数据
| 软件包键 | brew:patchutils |
|---|---|
| 版本 | 0.4.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/patchutils |
| 主页 | https://cyberelk.net/tim/software/patchutils/ |
| 仓库 | https://github.com/twaugh/patchutils |
| 上游文档 | https://cyberelk.net/tim/software/patchutils/ |
| 许可证 | GPL-2.0-or-later AND LGPL-2.1-or-later |
| 源码归档 | https://github.com/twaugh/patchutils/releases/download/0.4.5/patchutils-0.4.5.tar.xz |
| 最后更新 | 2026-09-11T18:40:21Z |
| Pulse | updated |
| 构建依赖 | xmlto |
| 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 | patchutils |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
patchutils 0.4.2-1
Utilities to work with patches
http://cyberelk.net/tim/software/patchutils/
sudo apt install patchutilspatchutils
nix profile install nixpkgs#patchutilspatchutils 0.4.2-1build3
Utilities to work with patches
http://cyberelk.net/tim/software/patchutils/
sudo apt install patchutilspatchutils 0.4.5-r0
Programs for manipulating patch files
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutilspatchutils-bash-completion 0.4.5-r0
Bash completions for patchutils
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutils-bash-completionpatchutils-doc 0.4.5-r0
Programs for manipulating patch files (documentation)
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutils-docpatchutils 0.4.5-2.fc45
A collection of programs for manipulating patch files
http://cyberelk.net/tim/patchutils/
sudo dnf install patchutilspatchutils 0.4.5-1
A small collection of programs that operate on patch files
http://cyberelk.net/tim/patchutils/
sudo pacman -S patchutilspatchutils 0.4.5-1.3
A Collection of Tools for Manipulating Patch Files
https://cyberelk.net/tim/software/patchutils/
sudo zypper install patchutilspatchutils
sudo port install patchutils来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.