有趣的事

BASH EOF ERROR

Error

arithmetic expression: expecting EOF
time2=$(( ${time#0} % 15 ))

${var#glob} means "$var with glob removed from the beginning if present".