Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 276 Bytes

README.rst

File metadata and controls

17 lines (13 loc) · 276 Bytes

ipgrep

IPv4 netmask aware grep for firewall scripts etc.

Usage:

$ pip install -e .[test]
$ ipgrep 1.2.3.0/24 sample_files/test.txt
eka 1.2.3.4
toka 1.2.3.4/24
neljäs 1.2.3.4/8
viides 1.2.3.4/255.255.0.0
phoo 1.2.3.6/64
xyz 1.2.3.4