Package grepcidr

Filter IPv4 and IPv6 addresses matching CIDR patterns

https://www.pc-tools.net/unix/grepcidr/

The grepcidr utility can be used to filter a list of IP addresses against
one or more Classless Inter-Domain Routing (CIDR) specifications. As with
grep, there are options to invert matching and load patterns from a file.
It is capable of efficiently processing large numbers of IPs and networks.

Version: 2.0

General Commands

grepcidr Filter IPv4 and IPv6 addresses matching CIDR patterns