dircmp(1)
_________________________________________________________________
dircmp Command
directory comparison
_________________________________________________________________
SYNTAX
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.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
dircmp(1)
$ 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
cmp(1), diff(1).
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)