Chapter 6 / Command Reference
Fe (File Comparison)
External
18:
Fe [/number] [lB]
[Ie]
[lW]
pathnamel
:
pathname2
[>target pathname]
Compares
the
contents of two files, pathnamel and pathname2,
and sends the
output
to
the
screen or to
the
file specified
by
tar-
get pathname.
Parameters
number specifies
the
number of lines
that
must
match
for
the
file to be considered as
matching
again
after FC finds a differ-
ence.
It
can
be from 1
through
9.
If
you
don't specify a number,
it
defaults to 3. Use
this
parameter
only
in
source comparisons.
IB forces a
binary
comparison
of
both files. The two files
are
compared byte-by-byte,
with
no
attempt
to resynchronize after a
mismatch. FC displays
the
mismatches
in
the
following format:
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
are
the
mismatched bytes of pathnamel and pathname2,
respectively.
If
one file contains less
data
than
the
other, FC dis-
plays a message to
that
effect.
For example,
if
pathnamel ends before pathname2 ends,
then
FC
displays:
***Data
left
In
pathname2***
IC causes FC to ignore
the
case of letters. All letters
in
the
files
are
considered uppercase letters. For example:
Much_MORE_data_IS_NOT_FOUND
matches
Use
the
IC
parameter
only
in
source comparisons.
IW compresses white spaces (tabs and spaces)
for
the
comparison.
Thus,
if
several whites
are
toge-ther on one line, FC considers
them
as one white space. FC ignores spaces
that
are
at
the
beginning
and
end of lines.
82
f I
L...J
, i
I ,
--...J
, '
~
I '
~
, .
! i
~
: I
LJ