Diff

From NetHackWiki
Revision as of 08:30, 16 December 2007 by Shijun (talk | contribs) (added man link)
Jump to navigation Jump to search

diff is a program that creates specially formed patch files. It compares two files, and outputs the differences in a format that can be used to recreate one of the files from the other. (These special files are called either patch-files or diff-files.)

The usual invocation of the program is something like this:

diff -Nurd original-nethack-dir/ changed-nethack-dir/
This page is a stub. Should you wish to do so, you can contribute by expanding this page.