Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: small modification to scan util from dvb-apps



On Mon, 2 Aug 2004 07:25:11 +0200
"Eric DEZERT" <ericde45@neuf.fr> wrote:

> Sorry I don't know how to do a diff.

Very easy. You obviously need the original file, then

  diff -u theoriginalfile.c modifiedfile.c >mypatch.diff

If you want to diff a directory

  diff -ur /aaa/bbb/ccc-1.3 /aaa/bbb/ccc-1.3_modified >mypatch.diff

(u=human readable, r=recursive)

It's almost easier to create a diff than to apply it (when you have
to choose between option "-p0" and "-p1").

Regards.
-- 
   Roberto Ragusa    mail at robertoragusa.it




Home | Main Index | Thread Index