diff --git a/contrib/check_axis.sh b/contrib/check_axis.sh index 231d9da..9514c4e 100644 --- a/contrib/check_axis.sh +++ b/contrib/check_axis.sh @@ -29,11 +29,9 @@ lines=`cat $tempfile | grep -i $port` status=`echo $lines | awk '{ print $3 }'` if [ "$status" == "Printing" ]; then bytes=`echo $lines | awk '{ print $4 }'`; - comments=`echo $lines | tr -d " -" | awk '{ print $5 " " $6 }'`; + comments=`echo $lines | tr -d " " | awk '{ print $5 " " $6 }'`; else - comments=`echo $lines | tr -d " -" | awk '{ print $4 " " $5 }'`; + comments=`echo $lines | tr -d " " | awk '{ print $4 " " $5 }'`; fi comma=`echo $comments | grep , | wc -l`