main_marking4/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 01:03:09 +0000
changeset 401 9471c3b7ea02
parent 391 0930e4555b60
permissions -rwxr-xr-x
updated

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-*/main4}

for sd in $files; do
  cd $sd
  echo $sd
  sleep 5
  touch .
  cp ../../../../../main_marking4/knight2_test.sh .
  cp ../../../../../main_marking4/knight1_test4.scala .
  cp ../../../../../main_marking4/knight1_test5.scala .
  cp ../../../../../main_marking4/knight2_test6.scala .
  cp ../../../../../main_marking4/knight2_test7.scala .
  cp ../../../../../main_marking4/knight2_test8.scala .
  cp ../../../../../main_marking4/knight3_test9.scala .
  ./knight2_test.sh output
  rm knight2_test.sh
  rm knight1_test4.scala
  rm knight1_test5.scala
  rm knight2_test6.scala
  rm knight2_test7.scala
  rm knight2_test8.scala
  rm knight3_test9.scala
  cd ..
  cd ..
done