Tuesday, November 22, 2016

Vim Plugin: Subnet Search

Finished the subnet search plugin for vim written in python.  Given a CIDR subnet, it will generate a regular expression to match all ip addresses in that subnet:


In the example above, 10.9.3.0/29 is given as the CIDR subnet, and all the IP addresses within that subnet, including the network number and broadcast address, are highlighted.  If they were spread out amongst the file, just repeating the last search in vim using the '/' key and return will jump to the next occurrence.  Pretty handy in those cases whereby you want to search for or see all the IP addresses within a subnet.  It does go through a list of IP addresses for a subnet, so a /8 or any large subnet may take some time depending on the speed of the machine it's being run on.  It's at vim.org and github. It uses python 2.7, and the backported IP address module.

3 comments:

  1. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to fullcrackedpc.com But thankfully, I recently visited a website named vsthomes.com
    licenselinks.info
    DAEMON Tools Pro
    Avast Driver Updater Crack
    Google Chrome crack
    Apowersoft ApowerManager Crack

    ReplyDelete
  2. This site have particular software articles which emits an impression of being a significant and significant for you individual, able software installation.This is the spot you can get helps for any software installation, usage and cracked.
    avast-driver-updater-crack

    ReplyDelete