1 2 3 4 5 6
if sed -e 1q ${output} | grep -q '^[ab]*Got ctrl-C, exiting$'; then exit ${TEST_PASS} else exit ${TEST_FAIL}; fi