|
Compare two files
I need to compare two files:
Basically I have an input file fileA.
which need to be compare with fileB located in /etc/lc/mbd directroy
Both file format is like:
abc01def:10.80.11.123
The input file format is:
abc01mns:10.80.11.1
dbc02mns:10.80.11.2
fbc01mns:10.80.11.3
rbc01mns:10.80.11.4
tbc01mps:10.80.11.5
abt05mns:10.80.11.6
zbc11mys:10.80.11.7
ttc01mns:10.80.11.8
hbc05mns:10.80.11.9
qbc01mns:10.80.11.10
So after comparison the script will tell me:
what has been dupicate and what not duplicate.
Thanks
|