check also for CtrlM in .txt and .cmake files
This commit is contained in:
@@ -16,8 +16,10 @@ shift 1
|
|||||||
|
|
||||||
for file in "$@"; do
|
for file in "$@"; do
|
||||||
#
|
#
|
||||||
# select files with extentions .txx, .cxx, .h, .html, .htm
|
# select files with extentions .txx, .cxx, .h, .html, .htm, .c, .txt, .cmake
|
||||||
match=`echo $file | egrep \[\.\]txx\$\|\[\.\]cxx\$\|\[\.\]h\$\|\[\.\]html\$\|\[\.\]htm\$\|\[\.\]c\$`
|
match=`echo $file | egrep
|
||||||
|
|
||||||
|
\[\.\]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`
|
||||||
|
|||||||
Reference in New Issue
Block a user