comparing two files
Posted: Sat Jul 03, 2010 10:05 am
Hello,
I have two files text1 and text2. these two file share some lines in common. I want to find out what are not common.
assume contents of files:
text1:
a
b
c
and text2:
a
r
h
b
w
e
c
so I guess line comparision is good. I used perl to get my job done but want to know how to do it in emacs. I have started learning emacs-lisp. Any piece of code would be helpful.
Thanks
I have two files text1 and text2. these two file share some lines in common. I want to find out what are not common.
assume contents of files:
text1:
a
b
c
and text2:
a
r
h
b
w
e
c
so I guess line comparision is good. I used perl to get my job done but want to know how to do it in emacs. I have started learning emacs-lisp. Any piece of code would be helpful.
Thanks