Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

splitdiff (1)

Name

splitdiff - separate out incremental patches

Synopsis

splitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]

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

Description

SPLITDIFF(1)                       Man pages                      SPLITDIFF(1)



NAME
       splitdiff - separate out incremental patches

SYNOPSIS
       splitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]

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

DESCRIPTION
       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.

OPTIONS
       -a
           Split out every single file-level patch.

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

       -D dir
           Write output files into subdirectory dir. Implies -d.

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

       -E
           Don't use .patch filename extension when writing output files.

       --help
           Display a short usage message.

       --version
           Display the version number of splitdiff.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | text/patchutils  |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       combinediff(1), lsdiff(1)

AUTHOR
       Tim Waugh <twaugh@redhat.com>
           Package maintainer



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz.

       Further information about this software can be found on the open source
       community website at http://cyberelk.net/tim/patchutils/.



patchutils                        4 Nov 2014                      SPLITDIFF(1)