From c9db78febf30e3add19e490287af45dc315a21e7 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 24 May 2019 09:36:34 +0100 Subject: [PATCH] Makes searchphp work again --- bin/search/searchphp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/search/searchphp b/bin/search/searchphp index bb2df3f7..a7eb95c6 100755 --- a/bin/search/searchphp +++ b/bin/search/searchphp @@ -26,4 +26,6 @@ while [ $# != 0 ]; do esac done -grep -r -i -n --color="always" --include=\*.{php,phtml} -A "$after" -B "$before" "$search" . +#echo grep -r -i -n --color="always" --include="*.{php,phtml}" -A "$after" -B "$before" "$search" . +grep -r -i -n --color="always" --include=\*.php -A $after -B $before $search . +