patch

# Create patch for file
diff -Naur original_file modified_file > changes.patch

# Test
patch --dry-run file_to_be_patched changes.patch

Leave a Reply

Your email address will not be published. Required fields are marked *