[script] find-nosvn correction

This commit is contained in:
Mathieu Maret 2011-09-16 16:21:56 +02:00
parent acd9136710
commit daa9f0ad0c

2
scripts/find-nosvn Normal file → Executable file
View File

@ -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