Linux Commands Examples

A great documentation place for Linux commands


separate out incremental patches

see also : combinediff - lsdiff


splitdiff [-a] [-d] [-p n] [file]

splitdiff {[--help] | [--version]}

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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.



Split out every single file-level patch.


Create file names such as a_b.c for a patch that modifies a/b.c.

-p n

Strip the first n components of the pathname to aid comparisons.


Display a short usage message.


Display the version number of splitdiff.

see also

combinediff , lsdiff


Tim Waugh <twaugh[:at:]redhat[:dot:]com>

Package maintainer

How can this site be more helpful to YOU ?

give  feedback