BUG: Try to fix the shell script
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 25 Jan 2006 15:54:10 +0000 (15:54 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 25 Jan 2006 15:54:10 +0000 (15:54 +0000)
CVSROOT/checkCtrlM

index 8aa532c663e70397de524cc36cec1169ade08eb1..653d74c35b046f91a153d5b2c7e5fe1a0fc25b09 100755 (executable)
@@ -17,9 +17,7 @@ shift 1
 for file in "$@"; do
   #
   # select files with extentions .txx, .cxx, .h, .html, .htm, .c, .txt, .cmake
-  match=`echo $file | egrep
-\[\.\]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`