From b4e3ac5714d27967d24daffe2c9ca7b757573883 Mon Sep 17 00:00:00 2001
From: Tony Breeds <tony@bakeyournoodle.com>
Date: Wed, 15 Feb 2017 13:17:33 +1100
Subject: [PATCH] Narrow down the results/matches

If you run grep-all.sh requests, you get all the item that match that
prefix.  It is a little messy.  Make the match patten more specific so
you only get the library you pass on the command line.

Change-Id: I16544372f7efff28933da728d11f85dc5e5f9aea
---
 tools/grep-all.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/grep-all.sh b/tools/grep-all.sh
index 12dce9a335..0d251e6231 100755
--- a/tools/grep-all.sh
+++ b/tools/grep-all.sh
@@ -31,7 +31,7 @@ declare -a branches=($(git describe --always) origin/master
                     )
 
 function search() {
-    git grep -Ei "^${1}" ${2} -- "${3}" | cut -d: -f4-
+    git grep -Ei "^${1}[=><!]" ${2} -- "${3}" | cut -d: -f4-
 }
 
 printf '\nRequirements\n'