dircmp(1) DG/UX 4.30 dircmp(1)
NAME
dircmp - directory comparison
SYNOPSIS
dircmp [ -d ] [ -s ] [ -wn ] dir1 dir2
DESCRIPTION
Dircmp examines dir1 and dir2 and generates various
tabulated information about the contents of the directories.
Listings of files that are unique to each directory are
generated for all the options. If no option is entered, a
list is output indicating whether the filenames common to
both directories have the same contents.
-d Compare the contents of files with the same name in
both directories and output a list telling what must be
changed in the two files to bring them into agreement.
The list format is described in diff(1).
-s Suppress messages about identical files.
-wn Change the width of the output line to n characters.
The default width is 72.
EXAMPLES
$ dircmp SOURCE SOURCE.2
Compares the two directories, "SOURCE" and "SOURCE.2".
Prints the names of files that are unique to each directory,
and identifies files that have the same name and identical
or different contents.
$ dircmp -s SOURCE SOURCE.2
Compares the files in the directories "SOURCE" and
"SOURCE.2". Lists the files that are unique to each
directory, and the files with the same name but different
contents. Suppresses the printing of file names that have
identical contents.
$ dircmp -d -w80 SOURCE SOURCE.2
Compares the files in "SOURCE" and "SOURCE.2". Lists the
files that are unique to each directory, files with the same
name but identical or different contents, and creates
scripts to make different files identical. Dircmp truncates
the output lines so they are only 80 characters long.
SEE ALSO
Licensed material--property of copyright holder(s) Page 1
dircmp(1) DG/UX 4.30 dircmp(1)
cmp(1), diff(1).
Licensed material--property of copyright holder(s) Page 2