DIFFERENCES Compares two files and lists the differences
SYNTAX
DIFFERENCES[/options] oldfile,newfile
SEMANTICS
Oldfile and newfile are the files to be compared. The file
named in oldfile shows up as file 1 in the differences
listing. The default file types are .MAC for input, and
.DIF for output.
OPTIONS
ALLOCATE:size
Reserves space for an output file
ALWAYS
Always produces an output file after a binary comparison, even
if there were no differences
AUDITTRAIL
Includes an audit trail in the output file; valid only with
the /SLP option
BINARY
Compares binary files
BLANKLINES
Includes blank lines in the comparison
BYTES
Does binary comparison byte by byte, rather than word by word
CASE:type
Specifies type of case sensitivity for the comparison; type may
be either GENERAL or EXACT, for case insensitive or sensitive,
respectively
CHANGEBAR
Includes a changebar character on lines in the output file that
differ from the first input file
COMMENTS (default)
Includes assembly language comments in the comparison
DEVICE
Compares contents of two entire volumes, beginning at block zero.
END:n
Specifies the ending block in the file for a binary comparison
FORMFEED
Includes formfeeds in the output listing
MATCH:n
Specifies the number of lines that must agree to constitute
a match
NOCOMMENTS
Excludes assembly language comments from the comparison
NOSPACES
Excludes spaces and tabs from the comparison
NOTRIM
Includes trailing spaces and tabs in the comparison
OUTPUT[:filespec]
Specifies the file name for the differences listing file
PRINTER
Prints the differences listing on the line printer
QUIET
Prints only a summary message for a binary comparison
SIPP:filnam.typ
Specifies the name of the file to contain the SIPP commands
that would change oldfile to newfile.
(binary comparison only)
SLP:filnam.typ
Specifies the name of the file to contain the SLP commands
that would change oldfile to newfile.
(source comparison only)
SPACES (default)
Includes spaces and tabs in the comparison
START:n
Specifies the starting block in the file for a binary comparison
TERMINAL (default)
Types the differences listing on the terminal
TRIM (default)
Excludes trailing spaces and tabs from the comparison
EXAMPLES
DIFFERENCES FILE1.TXT,FILE2.TXT
DIFFERENCES/MATCH:1/OUTPUT:DIFF.TXT FILE1.TXT,FILE2.TXT
DIFFERENCES/SLP:FILE12.DIF FILE1.MAC,FILE2.MAC
Tim Shoppa
7328 Bradley Blvd
Bethesda, MD 20817
Voice:+1 301 767 5917
Fax:+1 301 767 5927
Email:shoppa@trailing-edge.com