5 DIRS
=`find . -type d -wholename "*/_design/views/*"`
8 view_name
=`echo $view | awk '{split($0,array,"/")} END{print array[2]"/"array[5]}'`
9 count
=`git grep "$view_name" | wc -l`
10 if [ $count = "0" ]; then
11 echo -e -n "\e[00;31m"
13 echo $view_name $count |
awk '{ printf "%-40s%-5s\n",$1,$2}'