Now my program generates two data files. a.txt and b.txt Take a.txt as an example, it's content just like this:
0,0
0,1
1,0
-3,1
1,-2
1,3
......
b.txt is similar with a.txt.
Now, I hope to find out difference lines count. In other words, for example, if b.txt like this:
0,0
1,1
1,2
-3,1
1,-2
1,3
......
a shell script output 2 as the 2nd and the 3rd lines are different with one number different. How to do this???
I try diff command, however, I cannot get what I want...
Need your kind help..Thanks.
Addition: There are about 10,000 - 100,000 rows for each files. Of course, they have same no. of rows at each time.