xtool/contrib/bdiff/Docs/BPatch.txt

50 lines
1.3 KiB
Plaintext

NAME
bpatch - apply binary batch
SYNOPSIS
bpatch [options] old-file [ new-file ] [<patch-file]
DESCRIPTION
bpatch applies a binary patch generated by bdiff. Patches are read from standard
input unless the --input option is used to specify an input file.
old-file is the same file as used as the first argument to bdiff. bpatch will
create a copy of the file given as second argument to bdiff in new-file by using
the information from old-file and patch-file.
If new-file is omitted, the old file is replaced with the new file.
bpatch will detect if the patch does not match old-file, or if the patch has
been garbled. Remember to transmit binary patches as binary files!
In case of an error, new-file will not be touched.
OPTIONS
-i PATCH-FILE, - Read patch from specified file instead of standard input.
--input=PATCH-FILE Specifying --input=- does nothing. Use as an alternative
to shell redirection.
-h, - Show help screen.
--help
-v, - Show version number.
--version
ADMINISTRATIVIA
This manual page is for version 0.2.6 or later of bpatch.
See the file LICENSE.md for details of licensing and copyright.
THIS SOFTWARE IS PROVIDED "AS-IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN
NO EVENT WILL THE AUTHORS BE HELD LIABLE FOR ANY DAMAGES ARISING FROM THE USE OF
THIS SOFTWARE.