|
@@ -39,7 +39,7 @@ do
|
|
NUM=`expr $NUM - 1`
|
|
NUM=`expr $NUM - 1`
|
|
head -$NUM $i > /tmp/cs$$
|
|
head -$NUM $i > /tmp/cs$$
|
|
fi
|
|
fi
|
|
- if file /tmp/cs$$ | grep 'ISO-' >/dev/null
|
|
|
|
|
|
+ if file /tmp/cs$$ | egrep -v ' ASCII text| UTF-8 Unicode text' >/dev/null
|
|
then
|
|
then
|
|
ERRORS=`expr $ERRORS + 1`
|
|
ERRORS=`expr $ERRORS + 1`
|
|
echo non-ascii characters in $i
|
|
echo non-ascii characters in $i
|