aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-07-29 18:57:39 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-07-29 18:57:39 +0000
commitae996dee376b453469fb871fbe7cebb9906a9a83 (patch)
tree5039d09d44e103719bc1c4e82b3acd73ca13182d /gnu/usr.bin/diff
parent3cc31bc262cbcae09de17de2b1472a25bdd4bf6d (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/diff')
-rw-r--r--gnu/usr.bin/diff/diff.114
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/diff/diff.1 b/gnu/usr.bin/diff/diff.1
index 4acd3c9ac44d..fd60bd87611a 100644
--- a/gnu/usr.bin/diff/diff.1
+++ b/gnu/usr.bin/diff/diff.1
@@ -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