for file in "$@"; do
#
- # select files with extentions .txx, .cxx, .h, .html, .htm
- match=`echo $file | egrep \[\.\]txx\$\|\[\.\]cxx\$\|\[\.\]h\$\|\[\.\]html\$\|\[\.\]htm\$\|\[\.\]c\$`
+ # select files with extentions .txx, .cxx, .h, .html, .htm, .c, .txt, .cmake
+ match=`echo $file | egrep
+
+\[\.\]txx\$\|\[\.\]cxx\$\|\[\.\]h\$\|\[\.\]html\$\|\[\.\]htm\$\|\[\.\]c\$\|\[\.\]txt\$\|\[\.\]cmake\$`
if [ "x$match" != "x" ] ; then
count=`grep -n
\$ /dev/null $file|wc -c`