From: eric@tantalus.nrl.navy.mil (Eric Youngdale) Subject: Re: What are these 'diff' beasts? Date: Tue, 1 Dec 1992 15:06:53 GMT
In article <ByKDz0.4Ex@cmcl2.nyu.edu> wuwei@acf3.nyu.edu (Wei Wu) writes:
>While we are on the subject, how do I generate the context diff's for
>a fairly large program where the modifications are under serveral
>different directories and sub-directories.
diff -c -r dir1 dir2
will compare all of the files in two different directory trees, and do a
context diff for each file that is common to both trees. There is a --new-file
option, which will generate "diffs" to create any new files in dir2.
-Eric
-- Eric Youngdale