# Get Anki review status from exit code num_reviews="$(cat "$ANKI_REVIEWS")" if [ "$num_reviews" -ge "400" ] then exit 0 else exit 1 fi