3 if [ -z "$seek" ]; then
4 echo This script needs a pattern to look for in the current directory.
5 echo All code files here and in subdirectories will be searched for the
9 #hmmm: might be nice to support multiple directories...
10 # just need to pass them to find as an array maybe?
12 if [ -z "$dir" ]; then
16 find "$dir" -type f \( -iname "*" \
27 ! -iname "*.svn-base" \
31 -exec echo "\"{}\"" ';' | xargs grep -li "$seek"