This is a collection of programs that can manipulate patch files in
a variety of ways, such as interpolating between two pre-patches,
combining two incremental patches, fixing line numbers in hand-edited
patches, and simply listing the files modified by a patch.
combinediff combinediff creates a unified diff that expresses the sum of two diffs. The diff files must be listed in the order that they are to be applied. For best... dehtmldiff dehtmldiff creates usable diff files from HTML pages. This is useful in the scenario where a patch has been posted to a mailing list viewable via a web page... espdiff espdiff applies the appropriate transformation to a patch or set of patches, depending on what you intend to accomplish. The input patches must be “clean”: in... filterdiff You can use filterdiff to obtain a patch that applies to files matching the shell wildcard PATTERN from a larger collection of patches. fixcvsdiff fixcvsdiff modifies diff files created from the cvs diff command, where files have been added or removed. CVS tends to create diff files that patch(1)... flipdiff flipdiff exchanges the order of two patch files that apply one after the other. The patches must be “clean”: the context lines must match and there should be no... grepdiff For each file modified by a patch, if the patch hunk contains the REGEX then the file's name is printed. The regular expression is treated as POSIX Basic... interdiff interdiff creates a unified format diff that expresses the difference between two diffs. The diffs must both be relative to the same files. For best results... lsdiff List the files modified by a patch. You can use both unified and context format diffs with this program. recountdiff recountdiff recomputes the counts and offsets in unified context diffs. It does this in two passes: first the counts are corrected by inspection of the actual... rediff You can use rediff to correct a hand-edited unified diff. Take a copy of the diff you want to edit, and edit it without changing any offsets or counts (the... splitdiff If you have a patch file composed of several incremental patches, you can use splitdiff to separate them out. You may want to do this in preparation for... unwrapdiff unwrapdiff demangles patches that have been word-wrapped, in an attempt to make them useful. The corrected diff is sent to standard output. Note that you will...