home *** CD-ROM | disk | FTP | other *** search
- --- ---
- (o) (o) CmpDate 2.0 (19940304)
- ^
- \_____/ by Stephen D Childers
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Program Description:
-
- 1) This program is designed to work within script files, and is used
- to compare the dates of files and dirs, and will return WARN if the
- dates exceed a certain test condition; test conditions are set by
- user options.
-
- Program is basically a programmer's tool, for an example of usage
- then see file 'create' which is within CapsLock program directory.
-
- 2) It can only be run from CLI. Can be made resident.
-
- 3) Program (when run from CLI) will interact with the 'c:Why' command
- after program failures; this command may provide a more detailed
- explanation of why the program failed.
-
- The 'Why' command should be used immediately after a program
- failure to extract the last program's result code, because
- that result code is changed upon the execution of the next CLI
- command.
-
- 4) Certain error reports will contain the name of the arg, file,
- device, (etc) that is associated with failure when it occurs.
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CLI Usage:
-
- Usage > CmpDate [!|?] [[-option] mainarg arg1 ... argn]
-
- ! = show author info
-
- option: -n = if mainarg newer than arg1... then return( result )
- -o = if mainarg older than arg1... then return( result )
- -r = perform sub-directory recursion with arg1 ... argn
- -w = return result WARN
- -e = return result ERROR
- -f = return result FAIL
-
- mainarg = file or directory
- arg1 - argn = files or directories
-
- default options = ow
-
- 1) The mainarg can be a file or directory. And if a directory then
- only the date of directory will be used for comparison and not the
- date of directory contents.
-
- 2) The arg1 through argn can designate files or directories.
- If directories are designated then the date of files and directories
- within arg1...argn will be compared to mainarg.
-
- Using option -r (recursion mode) will cause files within all
- sub-directories to be compared, and only the file dates will be
- compared, and the date of all sub-directories will be ignored.
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Version History:
-
- The following information briefly describes changes or improvements
- made to each version, and they will be described in descending order;
- meaning latest version information begins first:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Version 2.0 (19940304) -
- 1) Changed version numbering format. Program can now be used with the
- "Version" command. Date within parenthesis is shown in a somewhat
- international format as (yyyymmdd).
- 2) Added option -r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Version 19930728 - The first version.
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_
- _( )+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+( )_
- (_)+(_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_)+(_)
- _(_) (_)_
- (_)_ 6 And the Lord said, Hear what the unjust judge saith. _(_)
- _(_) 7 And shall not God avenge his own elect, which cry (_)_
- (_)_ day and night unto him, though he bear long with them? _(_)
- _(_) 8 I tell you that he will avenge them speedily. (_)_
- (_)_ Nevertheless when the Son of man cometh, shall he find _(_)
- _(_) faith on the earth? (_)_
- (_)_ The Holy King James, Luke 18:6-8 _(_)
- _( )_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _( )_
- (_)+( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )_( )+(_)
- (_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)+(_)
- (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_) (_)
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- End Of Document
-