Making patches

Mr R A Mercer ram at
Thu Nov 22 14:51:09 PST 2001

Mr R A Mercer wrote:

> I'm in the middle of rewrting my scripts for installing my system and I 
> want to create patches for the programs instead of running sed scripts, 
> copy in config files etc...  However, I'm running into a deadend when my 
> modified tree has an extra file in it - how can I get diff to record the 
> contents of this file in the patch?
> I'm using a syntax something like
> # diff -u --recursive old-tree new-tree > patch.diff

Spoke too soon, just found what I was looking for

# diff -urN old-tree new-tree > patch.diff

will do the trick.



Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list