J /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  *  *  *<  *                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\=  *                %% \___________________________________%% \ >  *                %% |                                   %%  \?  *                %% |               CMPDIR              %%   \ @  *                %% |            Lyle W. West           %%    |@  *                %% |                                   %%    |@  *                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    |@  *                \                                        \   |@  *                 \                                        \  |@  *                  \                                        \ |@  *                   \________________________________________\|  *  *E  *  CMPDIR compares the contents of two directories and displays the  D  *  result in a similar format as the DCL DIFFERENCES command. This E  *  format provides a quick visual depiction of version discrepencies E  *  between dirctories. Qualifiers are available to highlite date and G  *  size differences between the two directories. If CMPDIR detects the G  *  image if being executed on a DECterm, date and size differences are G  *  shown in colors, else they are shown in bold font. There is also an    *  /OUTPUT qualifier available.  *   *          Color output legend:  *6  *                      Red - both date and size error.  *                     Cyan - size match error.  *                   Yellow - date match error  *  *          Sample output:  *9  *    $ CMPDIR LOCALSRC:[CMPDIR] LOCALSRC:[CMPDIR.UPDATE]   *D  *                     LOCALSRC:[CMPDIR]    LOCALSRC:[CMPDIR.UPDATE]N  *    ----------------------------------    ----------------------------------7  *                           BUILD.COM;1    BUILD.COM;1 6  *                                          CMPDIR.C;46  *                                          CMPDIR.C;36  *                                          CMPDIR.C;26  *                            CMPDIR.C;1    CMPDIR.C;18  *                          CMPDIR.CLD;1    CMPDIR.CLD;18  *                                          CMPDIR.EXE;6(  *                          CMPDIR.EXE;18  *                                          CMPDIR.OBJ;4(  *                          CMPDIR.OBJ;18  *                          CMPDIR.OPT;1    CMPDIR.OPT;1<  *                      CMPDIR_CLD.OBJ;1    CMPDIR_CLD.OBJ;1=  *                                          CMPDIR_DIFF.LST;1 =  *                     CMPDIR_MKMF.LOG;1    CMPDIR_MKMF.LOG;1 (  *                     COMPARE_DIR.DIR;15  *                             DBG.DBG;1    DBG.DBG;1 6  *                            DBG2.DBG;1    DBG2.DBG;19  *                         DESCRIP.MMS;1    DESCRIP.MMS;1 :  *                        FIXDATES.COM;1    FIXDATES.COM;1(  *                          UPDATE.DIR;1A  *                 PROPOSED_OUTPUT.TXT;1    PROPOSED_OUTPUT.TXT;1 7  *                                          UTILITY.C;3 7  *                                          UTILITY.C;2 7  *                           UTILITY.C;1    UTILITY.C;1 9  *                                          UTILITY.OBJ;2 (  *                         UTILITY.OBJ;17  *                                          VERSION.H;2 7  *                           VERSION.H;1    VERSION.H;1 (  *                           XMPLS.DIR;1  *5  *                             Total: 19    Total: 23   *E  *    To use CMPDIR, move the file CMPDIR.EXE to desired location and @  *    assign a foreign symbol to point to the executable, as in:  *.  *         $ CMPDIR == "$ USRTOOLS:CMPDIR.EXE"  *G  *    Then use as a normal DCL command. The built-in help page follows:   *  *  CMPDIR (V1.1-1)   *A  *        Allows user to compare the contents of two directories.   *  *      Parameters:   *B  *        PATH1 PATH2 - the filepaths of the two directories to beI  *                compared. The parameters are directory paths and cannot 3  *                specify filenames. Usage example:   *E  *                $ CMPDIR DKA100:[DOG.BARK] DKB300:[DOG.SLEEP] /DATE   *  *      Qualifiers  *A  *        /DATE - compares the specified date-time values of each L  *                matching pair of files. The compare is for BACKUP, CREATE,D  *                EXPIRE, or REVISE. Revise (modify) is the default.  *F  *        /OUTPUT - place output results to specified file rather thanJ  *                SYS$OUTPUT. If filespec is omitted, file CMPDIR_DIFF.LST2  *                is created in default directory.  *F  *        /SIZE - verifies the used and allocated size is identical on.  *                both files of matched pairs.  *$  *        /HELP - Displays this text  *2  *        /VERSION - Displays version, build date,%  *                and required privs.   *K  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */   