patch

Description: Plain old patch(1)
Status: Feature complete
Source: https://git.maandree.se/patch
Latest release: 1.0
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

An independent implementation of patch(1) that only has a small number of features not specified in the POSIX standard: (1) -D supports 1 and 0, and “!”-prefix, (2) -l ignores leading whitespace, (3) -o supports non-regular files (/dev/null can be used for dryrun), (4) -f can be used to avoid questions, (5) -U can be used to output rejected hunks in unified context format rather than copied context format, (6) -N skips applied hunks rather than applied patches, and (7) the filename can be read from the diff-line.