[CentOS] ip address from range script

Thu Jul 29 13:54:09 UTC 2010
Jozsi Vadkan <jozsi.avadkan at gmail.com>

TEST-A.txt: list of ip address ranges [AS/isp's in a country]
TEST-B.txt: list of ip addresses

I just need to know, if an ip in the TEST-B.txt is in a range of

cat "TEST-A.txt";9007;44536;9000;8263;9001;6852

cat "TEST-B.txt"


-> so is an ip address [in TEST-B.txt] is from my country [TEST-A.txt]
or not?