updated to emit dot directories and files.
authorFred T. Hamster <fred@gruntose.com>
Mon, 25 Feb 2013 00:04:30 +0000 (19:04 -0500)
committerFred T. Hamster <fred@gruntose.com>
Mon, 25 Feb 2013 00:04:30 +0000 (19:04 -0500)
scripts/buildor/find_in_code.sh

index c57c6fce1da12de4e71a89f6c9f7075893811c13..453cfa2da95d854fc26cb99ce17a8c541aad4f25 100644 (file)
@@ -28,4 +28,6 @@ find "$dir" -type f \( -iname "*" \
   ! -iname "*.tar" \
   ! -iname "*.tmp" \
   ! -iname "*.zip" \) \
-  -exec echo "\"{}\"" ';' | xargs grep -li "$seek" 
+  -exec echo "\"{}\"" ';' | xargs grep -li "$seek" | grep -v "^\.\|\/\."
+
+