Hi,
In fact, I want to do something as:
cat $1 | while read LINE; do
read LINE
a=`echo "$LINE" | awk -F'\t' '{ print $5 }'`
a=${a:3:2}
if [[ $((a%5)) = 0 && $((a%10)) = 1 ]]; then
.....
echo "if case"
else
.....
echo "else case"
fi
done
But this check is wrong, because for example if a=25 my output is else case and not if case.
Thanks.