core_marking3/mk_core3
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 08 Dec 2022 21:28:33 +0000
changeset 453 08cd972b219f
parent 424 daf561a83ba6
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
385
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
#!/bin/bash
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
set -euo pipefail
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
trap "exit" INT
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
     7
files=${1:-*/core3}
385
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     9
for sd in $files; do
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    10
  echo -e "\n"  
385
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    11
  cd $sd
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    12
  echo $sd
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    13
  touch .
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    14
  cp ../../../../../core_marking3/postfix_test.sh .
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    15
  cp ../../../../../core_marking3/postfix_test1.scala .
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    16
  cp ../../../../../core_marking3/postfix_test2.scala .
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    17
  cp ../../../../../core_marking3/postfix_test3.scala .
Christian Urban <christian.urban@kcl.ac.uk>
parents: 386
diff changeset
    18
  cp ../../../../../core_marking3/postfix_test4.scala .
385
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    19
  ./postfix_test.sh output
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    20
  rm postfix_test.sh
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    21
  rm postfix_test1.scala
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    22
  rm postfix_test2.scala
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    23
  rm postfix_test3.scala
386
e2170c91a9f2 added marking
Christian Urban <christian.urban@kcl.ac.uk>
parents: 385
diff changeset
    24
  rm postfix_test4.scala
385
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    25
  cd ..
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    26
  cd ..
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    27
done
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    28
44383203970f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
    29