how can I differentiate two large text files using shell script? Files are like below
I want to automate this using script.How to automate it?
File1:
s.no# 1 name:aaaaaa
city:abcd
s.no# 2 name:aaabbb
city:abcd
s.no# 1 name:aaaccc
city:abcd
.
.
.
.
.
File 2:
s.no# 1 name:lmnopq
city:abcd
s.no# 2 name:abcdef
city:abcd
s.no# 1 name:ijklmn
city:abcd
.
.
.
.
.
I want to check which fields are varrying form File1 to File2.
length of S.no, name and city are same.
Last edited by surya_gadde; 01-20-2009 at 11:59 PM.
|