diffindex-rred diff1 ...
diffindex-rred is a command line tool for applying diff --ed style patches, as used in APT's diff/Index format. It can efficiently apply several patches in one run and does not need to read the whole source file into memory.
The source file is taken from stdin. The patched file is written to stdout. Compressed patch files are decompressed automatically if they have the proper .gz, .bz2, or .lzo extension.
diffindex-rred was written by Stefan Fritsch <firstname.lastname@example.org>.