From 53bd62f3a55cde1dce09bdb867dfe0b84d578227 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sat, 27 Jan 2024 13:31:17 +0200 Subject: Adding exit codes and batch runner script. --- batch/100-run-beginner-bad.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 batch/100-run-beginner-bad.sh (limited to 'batch') diff --git a/batch/100-run-beginner-bad.sh b/batch/100-run-beginner-bad.sh new file mode 100644 index 0000000..f66ea22 --- /dev/null +++ b/batch/100-run-beginner-bad.sh @@ -0,0 +1,8 @@ +#!/bin/bash +let COUNT=100 +let WINS=0 +for ((i=0;i