From: Chris Koeritz Date: Mon, 25 Feb 2013 18:45:04 +0000 (-0500) Subject: fixed to not throw away matches that look like ./blah/XXX where the dot is definitely X-Git-Tag: 2.140.90~1090 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=81ff468e27ccaf567a2c25d4356d9c8e10810609;p=feisty_meow.git 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. --- 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 "^\.[^\/]\|\/\."