RossNet

FunnelWeb

Tutorial

Developer

Reference
1 Introduction
2 Interface
3 Scanner
4 Parser
5 Analyser
6 Tangle
7 Weave
8 Shell
9 Commands
10 Glossary
11 References

SEARCH
FunnelWeb Reference Manual

9.4 Compare

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.

Prev Up Next


Webmaster    Copyright © Ross N. Williams 1992,1999. All rights reserved.