3BSD/usr/man/man1/diffdir.1

.TH DIFFDIR 1 8/31/79
.UC
.SH NAME
diffdir \- diff directories
.SH SYNOPSIS
.B diffdir
[
.B \-h
] [
.B \-s
] [
.B \-e
] [
.B \-v
] dir1 dir2
.SH DESCRIPTION
.I Diffdir
does diffs on directories by sorting the contents of the directories by
name and then running diffs on text files which are different.
Object files which differ and files which appear in only one directory
are also listed.
.PP
The
.B \-h
option causes diffdir to paginate its output, and to summarize
binary differences and files in only one place at the end of the diff.
Each individual diff is run through an appropriate
.I pr.
.PP
The
.B \-s
option causes files which are the same to be reported;
normally they are omitted.
The
.B \-e
option causes the output to be a
.IR csh (1)
script containing
.IR ed (1)
commands to change the first directory to the second.
The
.B \-v
option causes slightly more verbose output.
.SH "SEE ALSO"
diff(1)
.SH AUTHOR
William Joy
.SH BUGS
Program needs more work, i.e. it could be made hierarchical.
.PP
Scripts made by
.I diffdir
.B \-e
contain lines with only a `.'.
If the resulting file is mailed,
.I mail (1)
will throw away the rest of the file.
The file must be right shifted by a tab stop to avoid this.