*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> dircmp (1)              
Title
Content
Arch
Section
 

Contents


 dircmp(1)                                                         dircmp(1)




 NAME    [Toc]    [Back]
      dircmp - directory comparison

 SYNOPSIS    [Toc]    [Back]
      dircmp [-d] [-s] [-wn] dir1 dir2

 DESCRIPTION    [Toc]    [Back]
      dircmp examines dir1 and dir2 and generates various tabulated
      information about the contents of the directories.  Sorted listings of
      files that are unique to each directory are generated for all the
      options.  If no option is entered, a sorted 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.

 EXTERNAL INFLUENCES    [Toc]    [Back]
    Environment Variables
      LC_COLLATE determines the order in which the output is sorted.

      If LC_COLLATE is not specified in the environment or is set to the
      empty string, the value of LANG is used as a default.  If LANG is not
      specified or is set to the empty string, a default of ``C'' (see
      lang(5)) is used instead of LANG.  If any internationalization
      variable contains an invalid setting, dircmp behaves as if all
      internationalization variables are set to ``C'' (see environ(5)).

    International Code Set Support    [Toc]    [Back]
      Single- and multi-byte character code sets are supported.

 EXAMPLES    [Toc]    [Back]
      Compare the two directories slate and sleet and produce a list of
      changes that would make the directories identical:

           dircmp -d slate sleet

 WARNINGS    [Toc]    [Back]
      This command is likely to be withdrawn from X/Open standards.
      Applications using this command might not be portable to other
      vendors' systems.  As an alternative diff -R is recommended.

 SEE ALSO    [Toc]    [Back]
      cmp(1), diff(1).



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 dircmp(1)                                                         dircmp(1)




 STANDARDS CONFORMANCE    [Toc]    [Back]
      dircmp: SVID2, SVID3, XPG2, XPG3


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
diff3 IRIX 3-way differential file comparison
diff3 OpenBSD 3-way differential file comparison
dominance IRIX MAC label comparison policy
diff3 HP-UX 3-way differential file comparison
BN_is_one Tru64 BIGNUM comparison and test functions
BN_is_word OpenBSD BIGNUM comparison and test functions
BN_is_one OpenBSD BIGNUM comparison and test functions
BN_cmp NetBSD BIGNUM comparison and test functions
BN_is_word Tru64 BIGNUM comparison and test functions
BN_ucmp Tru64 BIGNUM comparison and test functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service