From 42129a7a94808c432100d724e4b07139f47b1e6e Mon Sep 17 00:00:00 2001
From: Adam Vandenberg <flangy@gmail.com>
Date: Sun, 15 Aug 2010 11:32:45 -0700
Subject: [PATCH] brew audit - another man variation

---
 Library/Contributions/examples/brew-audit.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb
index 916f93d8f2..c71daa8fa7 100755
--- a/Library/Contributions/examples/brew-audit.rb
+++ b/Library/Contributions/examples/brew-audit.rb
@@ -34,6 +34,10 @@ def audit_formula_text text
     problems << " * \"(#{$1}...#{$2})\" should be \"(#{$3}+...)\""
   end
 
+  if text =~ %r[((man)\s*\+\s*(['"])(man[1-8])(['"]))]
+    problems << " * \"#{$1}\" should be \"#{$4}\""
+  end
+
   # Prefer formula path shortcuts in strings
   if text =~ %r[(\#\{prefix\}/(bin|include|lib|libexec|sbin|share))]
     problems << " * \"#{$1}\" should be \"\#{#{$2}}\""
-- 
GitLab