Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 501 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 501 Bytes

cidrgrep

Go Report Card Go Actions Status

go get github.com/tomdoherty/cidrgrep

cidrgrep "10.0.0.0/24" < file.log
cidrgrep "10.0.0.0/24" file1.log file2.log file3.log

Outputs lines which contain an IP within the CIDR block specified