From ebeb57d7d36478439857eb344ecf6e95594364ee Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Wed, 25 Jan 2006 09:34:32 +0000 Subject: [PATCH] check also for CtrlM in .txt and .cmake files --- CVSROOT/checkCtrlM | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CVSROOT/checkCtrlM b/CVSROOT/checkCtrlM index 3d7cbb4d..8aa532c6 100755 --- a/CVSROOT/checkCtrlM +++ b/CVSROOT/checkCtrlM @@ -16,8 +16,10 @@ shift 1 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`