BUG: Try to fix the shell script
This commit is contained in:
parent
2f75846baf
commit
44869986ca
|
@ -17,9 +17,7 @@ shift 1
|
||||||
for file in "$@"; do
|
for file in "$@"; do
|
||||||
#
|
#
|
||||||
# select files with extentions .txx, .cxx, .h, .html, .htm, .c, .txt, .cmake
|
# select files with extentions .txx, .cxx, .h, .html, .htm, .c, .txt, .cmake
|
||||||
match=`echo $file | egrep
|
match=`echo $file | egrep \[\.\]txx\$\|\[\.\]cxx\$\|\[\.\]h\$\|\[\.\]html\$\|\[\.\]htm\$\|\[\.\]c\$\|\[\.\]txt\$\|\[\.\]cmake\$`
|
||||||
|
|
||||||
\[\.\]txx\$\|\[\.\]cxx\$\|\[\.\]h\$\|\[\.\]html\$\|\[\.\]htm\$\|\[\.\]c\$\|\[\.\]txt\$\|\[\.\]cmake\$`
|
|
||||||
if [ "x$match" != "x" ] ; then
|
if [ "x$match" != "x" ] ; then
|
||||||
count=`grep -n
|
count=`grep -n
|
||||||
\$ /dev/null $file|wc -c`
|
\$ /dev/null $file|wc -c`
|
||||||
|
|
Loading…
Reference in New Issue