Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: IP Address consolidation

by claree0 (Hermit)
on Aug 20, 2001 at 14:24 UTC ( #106174=note: print w/replies, xml ) Need Help??


in reply to IP Address consolidation

I think you need to give us some more detail on what you are trying to do - e.g. what makes line 2 a follow-on from from line 1?

What comparisons are you doing?

Clare

Replies are listed 'Best First'.
Re: Re: IP Address consolidation
by yasysad (Novice) on Aug 20, 2001 at 14:36 UTC
    My apologies ..
    The clarifications are thus :
    1. IP Address file has the range of IP Addresses held by the name that appears in the same line.
    2. I need to join adjacent ranges belonging to the same name; thus reducing the number of lines in the file.
    3. In the first example, Line 2 follows Line 1 because 202.3.0.0 is the next IP Address after 202.2.255.255.
    Similarly, if the "From" of one line is the next IP of the "TO" of the previous line, and the name is the same, the record needs to be replaced by the "From" of the first line, the "To" of the following line, and the common "Name"

    Hope this helps

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://106174]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-09-27 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (122 votes). Check out past polls.

    Notices?