core_marking1/mk_core1
changeset 424 daf561a83ba6
parent 382 1bd800376e0c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core_marking1/mk_core1	Mon Apr 11 23:55:27 2022 +0100
@@ -0,0 +1,26 @@
+#!/bin/bash
+set -euo pipefail
+
+trap "exit" INT
+
+files=${1:-*/core1}
+
+for sd in $files; do
+  echo -e "\n"
+  cd $sd
+  echo $sd
+  touch .
+  cp ../../../../../core_marking1/collatz_test.sh .
+  cp ../../../../../core_marking1/collatz_test1.scala .
+  cp ../../../../../core_marking1/collatz_test2.scala .
+  cp ../../../../../core_marking1/collatz_test3.scala .
+  ./collatz_test.sh output
+  rm collatz_test.sh
+  rm collatz_test1.scala
+  rm collatz_test2.scala
+  rm collatz_test3.scala
+  cd ..
+  cd ..
+done
+
+