385
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
1 |
#!/bin/bash
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
set -euo pipefail
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
trap "exit" INT
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |
|
424
|
7 |
files=${1:-*/core3}
|
385
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
9 |
for sd in $files; do
|
424
|
10 |
echo -e "\n"
|
385
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
11 |
cd $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
12 |
echo $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
13 |
touch .
|
424
|
14 |
cp ../../../../../core_marking3/postfix_test.sh .
|
|
15 |
cp ../../../../../core_marking3/postfix_test1.scala .
|
|
16 |
cp ../../../../../core_marking3/postfix_test2.scala .
|
|
17 |
cp ../../../../../core_marking3/postfix_test3.scala .
|
|
18 |
cp ../../../../../core_marking3/postfix_test4.scala .
|
385
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
19 |
./postfix_test.sh output
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
20 |
rm postfix_test.sh
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
21 |
rm postfix_test1.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
22 |
rm postfix_test2.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
23 |
rm postfix_test3.scala
|
386
|
24 |
rm postfix_test4.scala
|
385
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
25 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
26 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
27 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
28 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
29 |
|