The compare command takes two filename arguments and performs a
binary comparison of the two files. If the files are identical, success status
is returned. If they are different, severe status is returned. No information
about the manner in which the files differ is conveyed.
Syntax : compare = "compare" s filename s filename
Example: compare result.txt answer.txt
The compare command was created as the main checking mechanism for
regression testing. However, its binary output was soon found to be
unworkable and the more sophisticated diff command was added so that
the actual differences between the files could be examined.
Copyright Ross N. Williams 1992,1999. All rights reserved.
http://www.ross.net/funnelweb/reference/commands_compare.html [3/3/2000 10:44:20 PM]