fixed to not throw away matches that look like ./blah/XXX where the dot is definitely
authorChris Koeritz <fred@gruntose.com>
Mon, 25 Feb 2013 18:45:04 +0000 (13:45 -0500)
committerChris Koeritz <fred@gruntose.com>
Mon, 25 Feb 2013 18:45:04 +0000 (13:45 -0500)
the first character, but it's not a dotted file.

scripts/buildor/find_in_code.sh

index 453cfa2da95d854fc26cb99ce17a8c541aad4f25..f479505ff2bcd00668bcc32eb45de076b317659a 100644 (file)
@@ -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 "^\.[^\/]\|\/\."