home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT131.ZIP
/
MATCHEM.ZIP
/
MATCHEM.DOC
next >
Wrap
Text File
|
1990-07-09
|
12KB
|
366 lines
MATCH'EM
File Comparison Utility
Version 1.1
Copyright (c) 1990
by
David Gannon
Distributed by
G&G Computer Services
39 Cathy Circle
Portsmouth, RI 02871
SHAREWARE NOTICE
----------------
Match'em is released as SHAREWARE. A $6.00 registration fee is
requested if you use the program and find it to be beneficial. In any
case, please feel free to copy and share this program with others. I
will only support those who contribute toward the development of this
SHAREWARE product, but I will accept useful suggestions from ANYBODY!
An order form is included at the end of this documentation file. Use
it to register Match'em or send along any comments.
DISCLAIMER
----------
MATCH'EM is provided on an 'as is' basis. Any damages arising
from the use of this program are entirely the responsibility of the
user. In other words, neither the author (David Gannon) nor the
distributor (G & G Computer Services - or its employees) can be held
responsible for any damages.
INTRODUCTION
------------
You've been working on an important program (or text file) and
have now written several different versions. You finally decide which
variation will work best but discover that, on your disk, you have the
files PROG1, PROG2, PROG21, PROG3, PROG4, etc. and no recollection
which contains the version you really want. They're all fairly close
in content so you wind up printing out each version and doing a line by
line comparison of the hard copies. Pretty time consuming and quite a
pain!
Enter Match'em....
Match'em gives you the capability to compare a file in two ways.
First, it will perform a 'quick' comparison of two files of any type
(text, binary, etc.) and tell you whether the files are the same or
different. Secondly, for text (ASCII) files, it will perform a line by
line comparison (showing the results on the screen) with several useful
options to choose from.
SYSTEM REQUIREMENTS
-------------------
Match'em will run on any true IBM compatible machine (XT, AT,
etc.) with any type of video display.
EXECUTING THE PROGRAM
---------------------
MATCH'EM can be executed in one of two ways:
1. Interactive Mode. To run the program in this mode, simply type
MATCHEM at the dos prompt and press the <ENTER> key. MATCH'EM will
then begin and guide you through the file comparison procedures.
2. Command Line Mode. To save keystrokes, the user can designate the
files for comparison when executing the program. To do this, type
MATCHEM, followed by a space, then type the name of the files to
compare (with drive and path parameters) separating the file names
with a space. Follow this by pressing the <ENTER> key.
Examples:
MATCHEM file.1 file.2<ENTER>
MATCHEM a:\file.1 b:\dos\file.2
{ entries can be made in upper case, lower case or a combination }
MAIN MENU OPTIONS
-----------------
Upon program execution, the user is presented with a list of five
options:
1. Choose File #1
2. Choose File #2
3. Quick File Comparison
4. Text File Comparison
5. More About MATCH'EM
6. Exit to Dos
In addition, pressing the <F1> function key will provide some
useful help with the program.
SELECTING A MAIN MENU OPTION
----------------------------
You may select an option by one of three methods. You can simply
'point and shoot' by pressing the number which appears in front of the
item you wish. You may use the up and down arrow keys to move the
highlight bar. When the option you wish to execute is highlighted,
press the ENTER key. Or, if you have a Microsoft compatible mouse, you
may use it to move the highlight bar. Your choice is then made by
pressing the left mouse button.
MAIN MENU OPTIONS EXPLAINED
---------------------------
CHOOSE FILE #1
--------------
Upon selecting this option, you will be presented with a File
Selection Box. Pressing the up/down arrow key (or moving the
mouse) will move the highlight bar. Pressing <ENTER> (or the left
mouse button) will specify the file.
The information displayed in the File Selection Box is as
follows:
1. Files are listed in white, with their name and extension,
their size in bytes, the date and time they were created and their
attribute.
2. Directories are listed in yellow and display the same
information as files except that the term '<DIR>' appears where a
file's size is indicated. The directory with a '..' listed as its
name is the current directory's parent directory.
3. The information box at the top of the selection box
provides the following additional disclosures:
a. The currently logged drive and directory.
b. The number of bytes contained in that directory.
4. Pressing <F1> at this point will allow the user to change
drives. If selected, the user will be asked what drive they would
like to log to. If an invalid drive is given, the program will
let you know and allow you to try again.
5. Pressing <ALT><H> (the Alt key and the H key at the same
time) will display a help screen which will list the following
additional commands:
a. <ALT><D> sorts the file listing in native dos order.
b. <ALT><N> sorts the file listing alphabetically by
file name.
c. <ALT><E> sorts the file listing alphabetically by
file extension.
d. <ALT><S> sorts the file listing by file size.
e. <ALT><T> sorts the file listing by time/date of file
creation.
f. <ALT><O> toggles the sort in ascending/descending
order.
g. <SPACE> displays the file box in the 'wide' format.
h. <ALT><Z> displays the file box in the 'long' format.
i. <F1> allows user to change logged disk drives.
j. <ALT><B> moves back up to parent directory.
CHOOSE FILE #2
--------------
Same as choosing file number one!
QUICK FILE COMPARISON
---------------------
This option performs a byte by byte comparison of the two
files, showing the number of bytes compared. If the two files
match, the user is told. If they do not match, the user is
informed of how many bytes matched before the mismatch occurred.
TEXT FILE COMPARISON
--------------------
Upon executing this option, the user is presented with two
windows, one for displaying each of the designated files, and the
first line from each file in its own window.
At the top of the screen is a list of possible commands to be
used in the text comparison procedure. Pressing the following
keys will carry out the designated action.
<F1> Lists one line from file number one.
<F2> Lists one line from file number two.
<F3> Lists two lines from file number one.
<F4> Lists two lines from file number two.
<F5> Lists four lines from file number one.
<F6> Lists four lines from file number two.
<F7> Continuously scrolls file number one.
<F8> Continuously scrolls file number two.
<F9> Carries out a continuous comparison.
<F10> Quits to the Main Menu.
If one of the continuous scroll options (<F7> or <F8>) is
chosen, the user may pause the scroll by pressing any key. Once
paused, pressing <ESC> (the escape key) will abort the scroll,
pressing any other key will continue it.
The list options associated with <F1> through <F6> are useful
when carrying out a continuous compare and a mismatch is found.
The user can then list one, two or four lines from each file in an
effort to get them back into synch to allow continuation of the
comparison.
MORE ABOUT MATCH'EM
-------------------
Displays a little program advertisement.
EXIT TO DOS
-----------
Selecting this option will quit the program and return the
user to the operating system.
G&G Computer Services Registration Form
for MATCH'EM file comparison utility.
Please fill out the following registration form and enclose a
check or money order for $6.00 (U.S. funds only) payable to
G&G Computer Services.
Remit both to:
G&G Computer Services
39 Cathy Circle
Portsmouth, RI 02871
-----------------------------------------------------------------
Name: Last _____________________ First ________________________
Company: ________________________________________________________
Address: ________________________________________________________
City _____________________________ State ________ Zip _________
Area Code ______ Phone ____________________
-----------------------------------------------------------------
The ability of G&G to continue to provide programs to computer
users depends largely on the registration support. Please help us
in this effort by returning this form with your payment promptly.
What make and model IBM/compatible do you use (Tandy, IBM XT)?
Check which type of disk drive(s) is on your machine:
360K 5.25in.(DSDD) ______
1.2meg 5.25in.(DDHD) ______
720K 3.5in.(DSDD) ______
1.44meg 3.5in.(DSHD) ______
Hard (fixed) disk ______
What type of video card you are using:
Hercules ______
CGA ______
EGA ______
VGA ______
Other ______ If other, please explain. ______________________
_________________________________________________________________
Comments or suggestions on this program for future releases:
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
Thank you
G&G Computer Services