Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 65
hp e3000
programming
and posix
diff and patch commands
diff - compares two files and reports on differences
-r option recursively compares two directory trees
-u option on GNU diff for making open-source
patches
patch - modifies files using diff output
can modify entire directory trees
saves rejected diff code in *.rej files
use GNU patch to handle diff -u format