Posted By

hoffstein on 12/08/08


Tagged

diff


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

sulfurito
hoffstein
Dorgendubal


Create patch file


 / Published in: Bash
 

URL: http://wget.addictivecode.org/PatchGuidelines

Patches are created using the diff program. When making patches, please use the -u option, or if your diff doesn't support it, -c. Ordinary (context-free) diffs are notoriously prone to errors, since line numbers tend to change when others make changes to the same source file.

  1. diff -u ORIGFILE CHANGEDFILE > patch.txt

Report this snippet  

You need to login to post a comment.