OS Manuals

/usr/bin/interdiff

Manipulate patch files

From patchutils 0.4.5-r3 (enterprise-packages), captured 2026-11-08 by running interdiff --help (exit 0). permalink

usage: interdiff [OPTIONS] patch1 patch2
       interdiff --version|--help
OPTIONS are:
  -U N, --unified=N
                  max lines of context to carry
  -i, --ignore-case
                  Consider upper- and lower-case to be the same
  -w, --ignore-all-space
                  ignore whitespace changes in patches
  -b, --ignore-space-change
                  ignore changes in the amount of whitespace
  -B, --ignore-blank-lines
                  ignore changes whose lines are all blank
      --color[=WHEN]
                  colorize the output; WHEN can be 'never', 'always',
                    or 'auto' (default: auto, use 'never' to disable)
  -p N, --strip-match=N
                  pathname components to ignore
  -q, --quiet
                  don't add rationale text
  -d PAT, --drop-context=PAT
                  drop context on matching files
  -z, --decompress
                  decompress .gz and .bz2 files
  --interpolate   run as 'interdiff'
  --combine       run as 'combinediff'
  --flip          run as 'flipdiff'
  --no-revert-omitted
                  (interdiff) When a patch from patch1 is not in patch2,
                  don't revert it
  --in-place      (flipdiff) Write the output to the original input
                  files
Options (15)
OptionDescriptionSource
-U, --unified Nmax lines of context to carryhelp
-i, --ignore-caseConsider upper- and lower-case to be the samehelp
-w, --ignore-all-spaceignore whitespace changes in patcheshelp
-b, --ignore-space-changeignore changes in the amount of whitespacehelp
-B, --ignore-blank-linesignore changes whose lines are all blankhelp
--color WHENcolorize the output;help
-p, --strip-match Npathname components to ignorehelp
-q, --quietdon't add rationale texthelp
-d, --drop-context PATdrop context on matching fileshelp
-z, --decompressdecompress .gz and .bz2 fileshelp
--interpolaterun as 'interdiff'help
--combinerun as 'combinediff'help
--fliprun as 'flipdiff'help
--no-revert-omitted(interdiff) When a patch from patch1 is not in patch2, don't revert ithelp
--in-place(flipdiff) Write the output to the original input fileshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.