Next Prev Table of Contents
To generate a context-diff suitable for patching, use:
diff old-file new-file > patchfile
To apply the diff to a file ("patch the file"), execute:
patch < patchfile