DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(diff.info.gz) Invoking patch

Info Catalog (diff.info.gz) Invoking diff3 (diff.info.gz) Top (diff.info.gz) Invoking sdiff
 
 Invoking `patch'
 ****************
 
    Normally `patch' is invoked like this:
 
      patch <PATCHFILE
 
    The full format for invoking `patch' is:
 
      patch OPTIONS... [ORIGFILE [PATCHFILE]]
 
    You can also specify where to read the patch from with the `-i
 PATCHFILE' or `--input=PATCHFILE' option.  If you do not specify
 PATCHFILE, or if PATCHFILE is `-', `patch' reads the patch (that is,
 the `diff' output) from the standard input.
 
    If you do not specify an input file on the command line, `patch'
 tries to intuit from the "leading text" (any text in the patch that
 comes before the `diff' output) which file to edit.   Multiple
 Patches.
 
    By default, `patch' replaces the original input file with the
 patched version, possibly after renaming the original file into a
 backup file ( Backup Names, for a description of how `patch'
 names backup files).  You can also specify where to put the output with
 the `-o FILE' or `--output=FILE' option; however, do not use this option
 if FILE is one of the input files.
 

Menu

 
* patch Options     Summary table of options to `patch'.
 
Info Catalog (diff.info.gz) Invoking diff3 (diff.info.gz) Top (diff.info.gz) Invoking sdiff
automatically generated byinfo2html