#!/bin/bash while true; do ./data ./std ./Todobe if diff std.out Todobe.out; then printf "AC " else printf "Wa " exit 0 fi done