Improve 2019/dogon/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-01-31 09:41:56 -08:00
1 parent f0cf419cef
commit d5b272c438
1 file changed
+2
+2
View File
@@ -43,5 +43,7 @@ for i in glider.mc infinite_5x5.mc mosquito5.mc message.mc; do
if [[ "$REPLY" == "q" || "$REPLY" == "Q" ]]; then
exit 0
fi
read -r -n 1 -p "Press any key to run: ./prog < $i: "
echo 1>&2
./prog < "$i" 2>/dev/null
done