./input.sh < dummy.txt in a terminal window