- Generate patch file in unified format - This will create a patch file specifying the difference between file and file.new in unified format: diff -u file file.new > patch
This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan