[CentOS] ip address from range script

2010-07-29 Thread Jozsi Vadkan
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 TEST-A.txt cat TEST-A.txt 63.31.63.0/24;9007;44536 64.65.0.0/19;9000;8263 62.64.14.0/21;9001;6852 cat TEST-B.txt 63.31.63.2 64.66.5.4

Re: [CentOS] ip address from range script

2010-07-29 Thread Todd Denniston
Jozsi Vadkan wrote, On 07/29/2010 09:54 AM: 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 TEST-A.txt cat TEST-A.txt 63.31.63.0/24;9007;44536 cat TEST-B.txt 63.31.63.2

Re: [CentOS] ip address from range script

2010-07-29 Thread Drew Weaver
...@centos.org] On Behalf Of Jozsi Vadkan Sent: Thursday, July 29, 2010 9:54 AM To: Centos Mailing List Subject: [CentOS] ip address from range script 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

Re: [CentOS] ip address from range script

2010-07-29 Thread John Doe
From: Jozsi Vadkan jozsi.avad...@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 TEST-A.txt cat TEST-A.txt 63.31.63.0/24;9007;44536 64.65.0.0/19;9000;8263