C o m p a r e V 1 . 0 0 COMPARE is a utility for reporting differences between two text files. Comparison is on a line-by-line basis, where a line is defined by its terminating carriage return character. When the program finds a difference between the two files, it looks ahead in each file trying to find matching records to resynchronize. The output could be described as a listing of the changes which were made when the file was edited creating a newer version. The program can be used on any type of text files. For example, it can be used to reconcile two directory listings of floppies. This program was designed to work like DEC's DIFFERENCE utility. The program has several switches, which are described in detail by entering the program name with NO parameters following it on the command line. The switches allow users to specify: how far the program will lookahead in the two files attempting to find a match; how many records must match to consider the files to be resynchronized; output to a file; the number of matching records to include in the output; and, the line length for output. NOTES ----- - The width switch may produce unexpected results if the files contain any TAB characters. - If a switch is specified more than once on the command line, the rightmost occurrence will be used. - Equalcount must be less than or equal to Matchcount. This program is FREEWARE, but I retain all rights to it. It can be freely copied and distributed as long as there is no cost to the recipient. I am interested in any comments, suggestions, or problems which may be encountered. I can be reached via CompuServe. My userid is 71441,1025. I hope you find the program useful. Ken Englander