projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f75846
)
BUG: Try to fix the shell script
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Wed, 25 Jan 2006 15:54:10 +0000
(15:54 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Wed, 25 Jan 2006 15:54:10 +0000
(15:54 +0000)
CVSROOT/checkCtrlM
patch
|
blob
|
history
diff --git
a/CVSROOT/checkCtrlM
b/CVSROOT/checkCtrlM
index 8aa532c663e70397de524cc36cec1169ade08eb1..653d74c35b046f91a153d5b2c7e5fe1a0fc25b09 100755
(executable)
--- a/
CVSROOT/checkCtrlM
+++ b/
CVSROOT/checkCtrlM
@@
-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`