how to find the diff of two sorted files (compare line by lilne)
file 1:
a b c d e . . z
file2:
d g 开发者_Python百科k
how do I find the data exists in 1 but not 2.
There is a utility that already does that:
comm -23 file1 file2
use unix comm
The POSIX standard comm utility also does this.
Use a program that does exactly that. i'm using kdiff3. for windows i think there is winmerge
精彩评论