Patchutils

Jul 20, 2023

Small collection of programs that operate on patch files

Patchutils is a small collection of programs that operate on patch files.

  • Interdiff generates an incremental patch from two patches against a common source.
  • Combinediff generates a single patch from two incremental patches, allowing you to merge patches together.
  • Filterdiff will select the portions of a patch file that apply to files matching or, alternatively, not matching a shell wildcard.
  • Fixcvsdiff is for correcting the output of ‘cvs diff’.
  • Rediff corrects hand-edited patches, by comparing the original patch with the modified one and adjusting the offsets and counts.
  • Lsdiff displays a short listing of affected files in a patch file, along with optionally the line numbers of the start of each patch.
  • Splitdiff separates out patches from a patch file so that each new patch file only alters any given file once.
  • Grepdiff displays a list of the files modified by a patch where the patch contains a given regular expression.
  • Recountdiff fixes up counts and offsets in a unified diff.
  • Unwrapdiff fixes word-wrapped unified diffs.

See also https//github.com/twaugh/patchutils



Checkout these related ports:
  • Zoneinfo - Updated timezone definitions
  • Zine - Simple and opinionated tool to build your own magazine
  • Ytree - DOS-XTREE(tm) look-a-like file manager
  • Yaunc - Yet another uptimes.net client
  • Xtypo - X-based keyboard trainer
  • Xtar - View and manipulate contents of a tar file
  • Xtail - Watches the growth of files or directories
  • Xplr - Hackable, minimal, fast TUI file explorer
  • Xosd - X11 on-screen-display program and library
  • Xless - X11-based viewer for text files
  • Xiphos - Bible interface utilizing the sword framework
  • Xgboost - Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM)
  • Xgas - The animated simulation of an ideal gas
  • Xfce4-wm-themes - Additional themes for xfwm4
  • Xfce4-weather-plugin - Weather plugin for the Xfce panel