/ Published in: Bash
                    
                                        
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.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
diff -u ORIGFILE CHANGEDFILE > patch.txt
URL: http://wget.addictivecode.org/PatchGuidelines
Comments
 Subscribe to comments
                    Subscribe to comments
                
                