fc
Compares two files or sets of files, displaying the differences between the two.
fc [d:][path]file1 [d:][path]file2 [options]
Compares file1 to file2.
Options
/A
Displays the first and last lines of differences only
/B
Compares binary files
/C
Ignore case
/L
Compare text files
/LBn
Set the maximum number of consecutive different ASCII lines to n
/Mn
Set the maximum number of differences between binary files
to report, before aborting.
The default value is 20.
Use 0 to allow an unlimited number of differences.
/N
Display the line numbers (text files only)
/S
Scan files in subdirectories as well
/T
Does not convert tabs into spaces for comparison
/W
Pack white space (tabs, spaces) for text comparison
/X
Do not show context lines in text comparison
/nnn
Set to nnn lines the minimum number of consecutive matching
lines for comparison resynchronization
Notes
- FC defaults to binary mode for files .EXE, .COM, .SYS, .OBJ, .BIN and .LIB.
- By default the binary compare stops after 20 differences but that value can
be modified through the /M switch. /M0 means "unlimited differences".
/M is interpreted as /M0.
- A design limitation of this program is that, in the text mode file
comparison, only the first 32765 lines are compared; the remaining lines are
ignored. The line length is virtually unlimited.
Copyright © 1999 Maurizio Spagni
This file is covered under GNU General Public License version 2 (or at your option)
any later version.
See COPYING