main_marking5/mk_main5
changeset 424 daf561a83ba6
parent 392 97ecdc8cb61b
child 463 0315d9983cd0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_marking5/mk_main5	Mon Apr 11 23:55:27 2022 +0100
@@ -0,0 +1,38 @@
+#!/bin/bash
+###set -e
+
+trap "exit" INT
+
+files=${1:-*/main5}
+
+for sd in $files; do
+  echo -e "\n"  
+  cd $sd
+  echo $sd
+  touch .
+  cp ../../../../../main_marking5/bf_test.sh .
+  cp ../../../../../main_marking5/bf_test1.scala .
+  cp ../../../../../main_marking5/bf_test2.scala .
+  cp ../../../../../main_marking5/bf_test3.scala .
+  cp ../../../../../main_marking5/bf_test4.scala .
+  cp ../../../../../main_marking5/bf_test4b.scala .
+  cp ../../../../../main_marking5/bf_test5.scala .
+  cp ../../../../../main_marking5/bf_test6.scala .
+  cp ../../../../../main_marking5/bf_test7.scala .
+  cp ../../../../../main_marking5/*.bf .
+  ./bf_test.sh output
+  rm bf_test.sh
+  rm bf_test1.scala
+  rm bf_test2.scala
+  rm bf_test3.scala
+  rm bf_test4.scala
+  rm bf_test4b.scala
+  rm bf_test5.scala
+  rm bf_test6.scala
+  rm bf_test7.scala
+  rm *.bf
+  cd ..
+  cd ..
+done
+
+