From 81ff468e27ccaf567a2c25d4356d9c8e10810609 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 25 Feb 2013 13:45:04 -0500 Subject: [PATCH] fixed to not throw away matches that look like ./blah/XXX where the dot is definitely the first character, but it's not a dotted file. --- scripts/buildor/find_in_code.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/buildor/find_in_code.sh b/scripts/buildor/find_in_code.sh index 453cfa2d..f479505f 100644 --- a/scripts/buildor/find_in_code.sh +++ b/scripts/buildor/find_in_code.sh @@ -28,6 +28,7 @@ find "$dir" -type f \( -iname "*" \ ! -iname "*.tar" \ ! -iname "*.tmp" \ ! -iname "*.zip" \) \ - -exec echo "\"{}\"" ';' | xargs grep -li "$seek" | grep -v "^\.\|\/\." + -exec echo "\"{}\"" ';' | xargs grep -li "$seek" +#| grep -v "^\.[^\/]\|\/\." -- 2.34.1