Commit 43f5f805 authored by thomas.forbriger's avatar thomas.forbriger

[TASK] (util): reformat report lines

parent 2f81ae51
......@@ -208,8 +208,9 @@ do
done
# summary report
echo $nc files checked
echo $DIR checked, total $nc files checked >> $TMPDIR/cscompVerbose.log
echo "data files checked for being listed:"
echo " $NLINES2 in current data directory; $nc files in total"
echo $DIR checked, $nc files checked in total >> $TMPDIR/cscompVerbose.log
unset NLINES2 CHECK FILECHECK DIR
# ---- end of test 1 ----
......@@ -221,14 +222,14 @@ do
NLINES=$(wc -l $FILE | cut -f 1 -d ' ')
if test $NLINES -gt 0
then
echo " verify $NLINES entries in $FILE"
echo " verify $NLINES entries in checksum file"
cd $(dirname $FILE)
LOGFILE=$TMPDIR/$(echo $FILE | tr '/' '_')
cat $(basename $FILE) | tr -s ' ' | cut -f 1,2 -d ' ' \
| sed -e 's/ / /' | $SHABIN -c > $LOGFILE
LOGLIST+=" "$LOGFILE
else
echo " checksum file $FILE empty"
echo " checksum file is empty"
fi
cd $HERE
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment