Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bishop15

  1. bishop15

    IP Address Unix Script Help

    Marsd, Sorry about the late response. I pulled one of my dev's and we came up with this.... $infile='iptest'; $mipfile='multipleips.txt'; $sipfile='singleips.txt'; sub main { open IN,$infile; # Open the datafile while ($line=<IN>) { chomp $line; # Get rid of that pesky newline...
  2. bishop15

    IP Address Unix Script Help

    My apologies, I can certainly see the confusion. Again, I'd really appreciate any help you can provide. I have a script which spits out convetional IP ranges. ex. (made up IP's) 123.45.67.8 32.5.26.32 The current script that is setup does not make use of subnet. Immediately below is an...
  3. bishop15

    IP Address Unix Script Help

    Thanks for the post Marsd....is it possible to sort or group all given IP's into classes if it applies? ex. 111.22.33.[1-5] &quot;C-class&quot; IP Address 111.22.* &quot;B-class&quot; IP Address
  4. bishop15

    IP Address Unix Script Help

    This sure seems simple enough, but I seem to be stuck. Each morning, via another script I get emailed a mass listing of nothing but IP address. I would like a script that takes this list, sorts the IP's according to classes, and outputs all non &quot;c&quot; class ip's into a new file....the...

Part and Inventory Search

Back
Top