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