Hi Jason,
The script worked …but both the files have mixed match of uppercase and lowercase.
Now i can convert both in lowercase and do the comparison… Reason why i don’t want to do this when i parse this file to removal.sh script as linux is case sensitive i am missing few hosts.
Can you you please suggest changes which will handle this :----
Exampe
File : test2.txt
TEST.DOMAIN.COM
Test4
test6.domain.com
test8
File : test1.txt
test.domain.com
Test4
test6.domain.com
TEST8
O/P: :------ test2.txt
TEST.DOMAIN.COM
Test4
test6.domain.com
test8