ip address from range script
vvmarko at gmail.com
Thu Jul 29 14:23:37 UTC 2010
On Thursday, July 29, 2010 14:54:15 Jozsi Vadkan wrote:
> 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"
> cat "TEST-B.txt"
> -> so is an ip address [in TEST-B.txt] is from my country [TEST-A.txt]
> or not?
One of the purposes of homework problems is to make you learn things by trying
to solve the problem *yourself*, rather than just studying a given solution.
The difference is in the amount of experience you gain by building your own
solution --- if you just try to understand someone else's solution, you can
reach some level of understanding, but miss out on this experience.
And precisely that experience is invaluable when you start facing problems
which nobody else has yet solved, later in your life.
More information about the users