splitdiff — separate out incremental patches
splitdiff [-a] [-d] [-p n] [file]
splitdiff {[--help] | [--version]}
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 re-combining them with combinediff(1).
The effect of running splitdiff is to separate its input into a set of output files, with no output file patching the same file more than once.