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

trap "exit" INT

files=${1:-assignment2019-*/Part8/*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking4/postfix_test.sh .
  cp ../../../../../marking4/postfix_test7.scala .
  cp ../../../../../marking4/postfix_test8.scala .
  cp ../../../../../marking4/postfix_test9.scala .
  ./postfix_test.sh output
  rm postfix_test.sh
  rm postfix_test7.scala
  rm postfix_test8.scala
  rm postfix_test9.scala
  cd ..
  cd ..
done


