From c3e6ee54a5b5b0a77936be0cf077a261fdfa825f Mon Sep 17 00:00:00 2001 From: Yacin Nadji Date: Fri, 2 Jul 2010 12:13:22 -0400 Subject: Add new formula: grepcidr grepcidr can be used to filter a list of IP addresses against one or more Classless Inter-Domain Routing (CIDR) specifications, or arbitrary networks specified by an address range. As with grep, there are options to invert matching and load patterns from a file. grepcidr is capable of comparing thousands or even millions of IPs to networks with little memory usage and in reasonable computation time. Signed-off-by: Adam Vandenberg --- Library/Formula/grepcidr.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Library/Formula/grepcidr.rb (limited to 'Library') diff --git a/Library/Formula/grepcidr.rb b/Library/Formula/grepcidr.rb new file mode 100644 index 000000000..b1c30e27b --- /dev/null +++ b/Library/Formula/grepcidr.rb @@ -0,0 +1,12 @@ +require 'formula' + +class Grepcidr