Skip to content

A simple IP highlighter with ping Status response for any given Data in asis reprint form

Notifications You must be signed in to change notification settings

vkg23/ipLight.awk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

#dummy

Built With

Getting Started

ipLight.awk reprints any text input with appended status of IP (GREEN,OK) OR (RED,NOK) No need to loop or parse output separately.

Prerequisites

Shell with AWK ready .

Example:

  • shell
    ifconfig | awk -f ipLight.awk
    cat "file with output any text with IP in any order" | awk  -f ipLight.awk
    
    

Installation

  1. Copy the script locally https://github.com/vkg23/

Usage

Refer to Getting Started

Roadmap

Strengthen the REGEX Check for valid IP's ( At present blind skip of Loopbacks and 255 SUBNET strings )

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

About

A simple IP highlighter with ping Status response for any given Data in asis reprint form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages