marking4/mk-postfix
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 08 Dec 2023 00:54:36 +0000
changeset 481 e03a0100ec46
parent 329 8a34b2ebc8cc
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
329
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
     6
files=${1:-assignment2019-*/Part8/*}
168
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
for sd in $files; do
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
  cd $sd
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  echo $sd
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  touch .
329
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    12
  cp ../../../../../marking4/postfix_test.sh .
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    13
  cp ../../../../../marking4/postfix_test7.scala .
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    14
  cp ../../../../../marking4/postfix_test8.scala .
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    15
  cp ../../../../../marking4/postfix_test9.scala .
257
ba4d976ca88d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    16
  ./postfix_test.sh output
ba4d976ca88d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    17
  rm postfix_test.sh
ba4d976ca88d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    18
  rm postfix_test7.scala
ba4d976ca88d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    19
  rm postfix_test8.scala
ba4d976ca88d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    20
  rm postfix_test9.scala
168
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  cd ..
329
8a34b2ebc8cc updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    22
  cd ..
168
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
done
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
03530cb87cd0 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25