The purpose of Program COMPARE is to compare two files. Two kinds of

compares are available. The default compare is a byte for byte compare which is a binary compare. An optional third word after the names of the two files to be compared requests a text line compare. With this option, text in one file is compare with text in another file, line by line. In this compare trailing blanks and upper and lower case are ignored.

To execute Program Compare, after the >>? prompt type

>>? RUN COMPARE

Program Compare responds THE SCI PROGRAM, COMPARE ENTER THE NAMES OF THE TWO FILES WHICH ARE TO BE COMPARED ?

After the Program Compare ? prompt give

NAME OF FIRST FILE to be used in the compare NAME OF SECOND FILE to be used in the compare X may be given as an optional third word. X requests a text line compare. Otherwise, the compare is a binary compare.

If the compare is OK, Program Repair responds with the message

GOOD COMPARE

If the two files differ, Program Repair responds with the message

BAD COMPARE

and

For a text line compare following information about every line that differs appears on the screen: the line number, followed by one line from the first file, then the line number and one line from the second file under it. This procedure is repeated for a maximum of 10 bad compares.

Note: Programs Compare stops looking at 32000 lines.

Program Compare - Page