Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 103 Posts 1 Joined 2003-06-09 00:00 23-year member UID 4572 Gender Male From 广东
Status Offline
The FC command is used to compare the differences between two files. There are two files:
File: A File: B
a c
b b
c a
d
Issue the command fc D:\LS\Ls\a.txt D:\LS\Ls\b.txt>myfc.txt
Open the myfc.txt file and it shows
Comparing files D:\LS\Ls\a.txt and D:\LS\Ls\b.txt
****** D:\LS\Ls\a.txt
a
b
c
d
****** D:\LS\Ls\b.txt
c
b
a
******
How does this file display the differences between the two files?
Credits 4,639 Posts 2,239 Joined 2005-01-30 00:00 21-year member UID 35785 Gender Male
Status Offline
It's a pity that I can only look with my eyes. The FC isn't that intelligent yet.
I also want to find a command-line software that can intelligently display the differences between two files under DOS or Windows.