424
|
1 |
#!/bin/bash
|
390
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
###set -e
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
trap "exit" INT
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |
files=${1:-*/main3}
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
for sd in $files; do
|
424
|
9 |
echo -e "\n"
|
390
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
10 |
cd $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
11 |
echo $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
12 |
touch .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
13 |
cp ../../../../../main_marking3/re_test.sh .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
14 |
cp ../../../../../main_marking3/re_test1.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
15 |
cp ../../../../../main_marking3/re_test2.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
16 |
cp ../../../../../main_marking3/re_test3.scala .
|
424
|
17 |
cp ../../../../../main_marking3/re_test3a.scala .
|
390
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
18 |
cp ../../../../../main_marking3/re_test4.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
19 |
cp ../../../../../main_marking3/re_test5.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
20 |
cp ../../../../../main_marking3/re_test6.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
21 |
cp ../../../../../main_marking3/re_test7.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
22 |
./re_test.sh output
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
23 |
rm re_test.sh
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
24 |
rm re_test1.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
25 |
rm re_test2.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
26 |
rm re_test3.scala
|
424
|
27 |
rm re_test3a.scala
|
390
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
28 |
rm re_test4.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
29 |
rm re_test5.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
30 |
rm re_test6.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
31 |
rm re_test7.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
32 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
33 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
34 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
35 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
36 |
|