Add an example for folks who can never remember how to generate a

recursive diff for use with send-pr(1).

PR:	12440
Requested by:	David Kelly <dkelly@hiwaay.net>
This commit is contained in:
sheldonh 1999-07-29 18:57:39 +00:00
parent 400dc13b84
commit 4d5385f5ab

View File

@ -463,6 +463,20 @@ match any pattern contained in
.TP
.B \-y
Use the side by side output format.
.SH EXAMPLES
To save to a file some changes that you have made to your local source
tree (possibly including new files), which you would like to show to others
(perhaps using the
.B send-pr(1)
program), you could type
.sp
diff -crN foo.orig foo >foo.diff
.sp
where
.I foo.orig
and
.I foo
might be directory hierarchies or single files.
.SH SEE ALSO
cmp(1), comm(1), diff3(1), ed(1), patch(1), pr(1), sdiff(1).
.SH DIAGNOSTICS