Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cmp(1)

diff(1)



  dircmp(1)                           CLIX                           dircmp(1)



  NAME

    dircmp - Examines and generates information about directory contents

  SYNOPSIS

    dircmp [-d] [-s] [-w "n"] dir1 dir2

  FLAGS

    -d   Compares the contents of files with the same name in both directories
         and outputs a list telling what must be changed in the two files to
         bring them into agreement.  The list format is described in diff.

    -s   Suppresses messages about identical files.

    -w n Changes the width of the output line to n characters.  The default
         width is 72.

  DESCRIPTION

    The dircmp command 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 flags.  If no flag
    is entered, a list is output indicating whether the filenames common to
    both directories have the same contents.

  EXAMPLES

    1.  To list the contents of both directories, showing whether or not files
        with the same name have the same contents:

        dircmp dir1 dir2


    2.  To do the equivalent of diff on any files which have the same name in
        dir1 and dir2:

        dircmp -ds dir1 dir2


  DIAGNOSTICS

    The following message may be displayed if an error occurs:

    [file] is not a directory !

    One of the arguments to dircmp was not a directory.

    If the user does not have search permission for a directory argument, or
    for a subdirectory of that directory, warnings of the following type will



  2/94 - Intergraph Corporation                                              1






  dircmp(1)                           CLIX                           dircmp(1)



    be displayed:

    find: cannot chdir to [path]


  EXIT VALUES

    The command exits with a value of 0 if successful.  If unsuccessful,
    dircmp exits with a nonzero value.

  RELATED INFORMATION

    Commands: cmp(1), diff(1)









































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026