main_marking5/mk_main5
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 11 Mar 2023 23:22:05 +0000
changeset 468 0587ef444547
parent 463 0315d9983cd0
permissions -rwxr-xr-x
updated and cleaned

#!/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_test4c.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_test4c.scala
  rm bf_test5.scala
  rm bf_test6.scala
  rm bf_test7.scala
  rm *.bf
  cd ..
  cd ..
done