i have two file e.g cmp1 and cmp2
cmp1 has abcdef and cmp2 has abcdefghijkl
cmp1 has:
a
b
c
d
e
f
cm2 has:
a
b
c
d
e
f
g
h
i
j
i want a script which will check if cmp1 content is same as in cmp2
then it should send a mail without caring about extra thingspresent in cmp2
=================
My Question was slightly different..
Actually i want while comparing between cmp1 and cmp2 if script will find the content of cmp1 is available in cmp2 ...then it will return pass...........