EasyManua.ls Logo

Commodore PC - Page 245

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
File
Comparison
Utility
(FC)
173
FC
would
take
reportl.txt
in
the
\user\pete
directory
of
disk
drive
C
and
compare
it
with
the
corresponding
reportl.txt
in
the
\user\betty
directory.
It
would
then
compare
Pete's
report2.txt
against
Betty's,
and,
finally,
compare
their
report^,
txt
files.
Since
in
this
example
no
drive
was
specified
for
the
second
set
of
files,
FC
would
have
assumed
that
the
\user\betty
directory
was
on
the
disk
in
the
default
drive.
FC
Switches
Using
switches
with
r^
FC
1
There
are
nine
switches
that
you
can
use
with
the
File
Com
parison
utility.
They
are
described
in
the
following
paragraphs.
>—k
The
/a
switch
abbreviates
the
output
of
an
ascii
comparison.
'
Instead
of
displaying
all
of
the
lines
that
are
different,
only
the
lines
that
begin
and
end
each
set
of
differences
are
displayed.
^.^^
The
intermediate
lines
are
represented
by
ellipses
(...).
The
/b
switch
forces
a
binary
comparison
of
both
files.
The
two
files
are
compared
byte
by
byte,
with
no
attempt
to
resynchronize
^^
after
a
mismatch.
The
mismatches
are
printed
as
follows:
xxxxxxxx yy
zz
(where
xxxxxxxx
is
the
relative
address
of
the
pair
of
bytes
from
the
beginning
of
the
file).
Addresses
start
at
00000000;
yy
and
zz
/tm.
are
the
mismatched
bytes
from
file1
and
file2,
respectively.
If
one
(
>
of
the
files
contains
less
data
than
the
other,
a
message
is
dis
played.
For
example,
\ifilel.txt
ends
beforefile2.txt,
FC
displays:
(~*}
fc:
file2.txt
longer
than
file1.txt
This
switch
is
the
default
when
you
compare
.exe,
.com,
.sys,
.obj,
f^
.lib,
or.bin
files.
The
/c
switch
causes
the
matching
process
to
ignore
the
case
of
letters.
All
letters
in
the
files
are
considered
uppercase
letters.
For
/*"*^
example,
the
following
two
lines
would
be
considered
matching:
Much
MORE
data
IS
NOT
FOUND
'
'
much
more
data
is
not
found
n
n

Related product manuals