fixed to not throw away matches that look like ./blah/XXX where the dot is definitely
[feisty_meow.git] / 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 "^\.[^\/]\|\/\."