updated to ignore svn entries file, plus sorted the list to make easier to add.
authorChris Koeritz <fred@gruntose.com>
Tue, 15 Jan 2013 21:00:51 +0000 (16:00 -0500)
committerChris Koeritz <fred@gruntose.com>
Tue, 15 Jan 2013 21:00:51 +0000 (16:00 -0500)
scripts/buildor/find_in_code.sh

index 1861222501d3db09db95b1f54cc9f63eb20acb14..23d7cb08fe618406675f43bd697e93e5bdb4ffb5 100644 (file)
@@ -8,16 +8,17 @@ if [ -z "$seek" ]; then
 fi
 
 find . -type f \( -iname "*" \
-  ! -iname "*.svn" \
-  ! -iname "*.git" \
-  ! -iname "*.exe" \
-  ! -iname "*.obj" \
   ! -iname "*.class" \
   ! -iname "*.dll" \
-  ! -iname "*.lib" \
+  ! -iname "*.exe" \
+  ! -iname "entries" \
+  ! -iname "*.git" \
+  ! -iname "*.gz" \
   ! -iname "*.jar" \
-  ! -iname "*.zip" \
-  ! -iname "*.tar" \
+  ! -iname "*.lib" \
+  ! -iname "*.obj" \
+  ! -iname "*.svn" \
   ! -iname "*.svn-base" \
-  ! -iname "*.gz" \) \
+  ! -iname "*.tar" \
+  ! -iname "*.zip" \) \
   -exec echo "\"{}\"" ';' | xargs grep -li "$seek"