diff --git a/scripts/find-nosvn b/scripts/find-nosvn old mode 100644 new mode 100755 index 8aaac81..2d187bb --- a/scripts/find-nosvn +++ b/scripts/find-nosvn @@ -6,6 +6,6 @@ echo -e "${txtRED}searching for $@${txtdfl}"; #find . -not -iwholename "*.svn" -name "*.[ch]" -exec grep -nH --color=auto $@ {} \; -find . -type d -a -name .svn -prune -o -name "*.[ch]" -exec grep -nH --color=always $@ {} \; +find . -type d -a -name .svn -prune -o -name "*.[ch]" -exec grep -nH --color=always "$@" {} \; #find . -name "*.[ch]" -exec grep -nH --color=auto --exclude-dir=.svn $@ {} \; #try ack