home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / trojanpr / file_crc.arc / COMPARE.DOC < prev    next >
Encoding:
Text File  |  1988-11-19  |  1.9 KB  |  59 lines

  1. NAME:
  2.     compare - compare the CRCs of files as calculated by FILECRC
  3.     
  4. SYNOPSIS:
  5.     compare [options]  [old_crc_file  [new_crc_file]]
  6.  
  7. DESCRIPTION:
  8.     COMPARE reads the two CRC files, records differences in several
  9.     files, and displays suspicious differences on the screen.  The
  10.     default input files are CHECK$$$.CRC and CHECK$$$.NEW.
  11.  
  12.     The output files are:
  13.  
  14.     FILES$$$.DEL    files that were deleted between the two checks
  15.     FILES$$$.NEW    files that were added between the two checks
  16.     FILES$$$.UPD    files that were changed, where the file creation 
  17.             date was also changed.
  18.     FILES$$$.MOD    files improperly modified (file contents changed,
  19.             but creation date unchanged)
  20.  
  21.     If input files were not specified on the command line, COMPARE
  22.     renames its input files as follows:
  23.  
  24.         CHECK$$$.CRC  to  CHECK$$$.OLD
  25.         CHECK$$$.NEW  to  CHECK$$$.CRC
  26.  
  27. OPTIONS:
  28.     The option can appear anywhere on the command line.
  29.  
  30.     -c    Conservative checking: report changes to "hidden",
  31.         "system", and "read-only" files to the screen.  (This
  32.         switch is normally included on the command line of
  33.         FILECRC and passed on to COMPARE.) When this option is set,
  34.         COMPARE checks the attributes as recorded in the OLDER input
  35.         file.
  36.     -u    user customizing - reset file names
  37.  
  38. IMPLEMENTATION NOTES:
  39.     The names of this program and its input files should be
  40.     customized by each user, either in the source code or at run
  41.     time.  See FILECRC.DOC for a discussion.
  42.     
  43. AUTHOR:
  44.     Written by Ted H. Emigh -- emigh@ncsugn.uucp or NEMIGH@TUCC.BITNET
  45.  
  46.     Modifications by Jim Van Zandt  <jrv@mitre-bedford.arpa>...
  47.         Translated from Pascal to C.
  48.         Explicitly checking for too many directories or too
  49.             many files.
  50.         Reading time and date of CRC check from old and new
  51.             files.
  52.         Optionally writing changes to hidden, system, or
  53.             read-only files to screen.
  54.         Writing deleted files out to FILES$$$.DEL.
  55.         Parameters can be updated at run time.
  56.  
  57.     Please send comments to: jrv@mitre-bedford.arpa
  58.  
  59.