home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
disk
/
misc
/
dcmp
/
fcmp.doc
< prev
next >
Wrap
Text File
|
1995-02-27
|
3KB
|
93 lines
fcmp 1.6,Exp
------------
Fri Dec 4 05:03:47 1992
DISTRIBUTION
This version of FCMP is NOT in the PUBLIC DOMAIN. You can however freely
distribute it as long as the following is observed:
- The program and documentation must be distributed together and may not
be modified in any way. The only exception is that the program and
documentation may be compressed into an archive for uploading to Bulletin
Boards or for other electronic transmission.
- The program is not to be used commercially or included in a commercial
package for profit unless written authorisation from me is obtained first.
This version of FCMP may be freely included on public domain library
disks or compilation disks provided only a small fee is charged for the
service.
DESCRIPTION
FCMP compares two files byte by byte.
Example:
Ask FCMP for any differences, ignore the offsets:
1> fcmp a.out foobar -q
Display the offsets of all differences:
1> fcmp a.out foobar -d0
Display a hex dump of a.out with all differences highlited:
1> fcmp a.out foobar -d1
Note that the first file name in the command line will be hex dump'ed.
The second one will only cause the highlitning in case of a difference
to the first.
Display a hex dump of both files with all differences highlited:
1> fcmp a.out foobar -d2
If you add the `-q' option to either `-d1' or `-d2' you will only get
the lines of the hex dump that include highlited bytes.
Together with the `-d0' option it will reduce the output to a list
of offsets only.
Adding the `-b' option to any command line will cause FCMP to break
after the first difference. If you want to start the comparison on
a certain offset (e.g. 0x1000) then simlply add the `-s' option in
one of the following ways:
1> fcmp -d2 foobar a.out -s 0x1000 is equal to
1> fcmp -s $1000 foobar -d2 a.out or
1> fcmp foobar -s4096 a.out -d2
That's all for tonight, have fun!
-Tobi
AUTHOR
Tobias Ferber
Bismarckstra\3e 22
W-7570 Baden-Baden
Germany
Earn: ukjg@dkauni2.bitnet
X.400: ukjg@ibm3090.rz.uni-karlsruhe.dbp.de
s=ukjg;ou=ibm3090;ou=rz;p=uni-karlsruhe;a=dbp;c=de
InterNet: ukjg@ibm3090.rz.uni-karlsruhe.de
THANKS
DICE is copyright (c)1990 by Matthew Dillon
891 Regal Rd.
Berkeley, Ca. 94708
USA
dillon@overload.Berkeley.CA.US
uunet.uu.net!overload!dillon
BIX: mdillon