Create Patch Files Using Diff And Patch Example
Using diff to create batch files and subsequently running them against select files is such a convenient way to update, fix or change existing files, but many developers and system administrators simply don’t know much about them.
Here is a quick diff and patch example, how to use diff and apply changes for select files. Use diff –help to check out more options and flags.
NOTE: pay caution when using patching, any mistake or error are executed without warning or undo feature. ...