BSD 3 development
[unix-history] / usr / man / man1 / diffdir.1
CommitLineData
5555c540
BJ
1.TH DIFFDIR 1 8/31/79
2.UC
3.SH NAME
4diffdir \- diff directories
5.SH SYNOPSIS
6.B diffdir
7[
8.B \-h
9] [
10.B \-s
11] [
12.B \-e
13] [
14.B \-v
15] dir1 dir2
16.SH DESCRIPTION
17.I Diffdir
18does diffs on directories by sorting the contents of the directories by
19name and then running diffs on text files which are different.
20Object files which differ and files which appear in only one directory
21are also listed.
22.PP
23The
24.B \-h
25option causes diffdir to paginate its output, and to summarize
26binary differences and files in only one place at the end of the diff.
27Each individual diff is run through an appropriate
28.I pr.
29.PP
30The
31.B \-s
32option causes files which are the same to be reported;
33normally they are omitted.
34The
35.B \-e
36option causes the output to be a
37.IR csh (1)
38script containing
39.IR ed (1)
40commands to change the first directory to the second.
41The
42.B \-v
43option causes slightly more verbose output.
44.SH "SEE ALSO"
45diff(1)
46.SH AUTHOR
47William Joy
48.SH BUGS
49Program needs more work, i.e. it could be made hierarchical.
50.PP
51Scripts made by
52.I diffdir
53.B \-e
54contain lines with only a `.'.
55If the resulting file is mailed,
56.I mail (1)
57will throw away the rest of the file.
58The file must be right shifted by a tab stop to avoid this.