#!/bin/sh

trap "echo Ok, I am out of here. ; exit 123" 15

while read INPUT
do 
	echo Got message:
	sleep 1
	echo Input was: $INPUT
	sleep 1
	printf "\x00I will show up at the next one.\n"
done

exit 99

