424
|
1 |
#!/bin/bash
|
389
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:-*/main2}
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
|
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"
|
389
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 .
|
463
|
14 |
cp ../../../../../main_marking2/wordle_test.sh .
|
|
15 |
cp ../../../../../main_marking2/wordle_test1.scala .
|
|
16 |
cp ../../../../../main_marking2/wordle_test2.scala .
|
|
17 |
cp ../../../../../main_marking2/wordle_test3a.scala .
|
|
18 |
cp ../../../../../main_marking2/wordle_test3b.scala .
|
|
19 |
cp ../../../../../main_marking2/wordle_test4.scala .
|
|
20 |
cp ../../../../../main_marking2/wordle_test5.scala .
|
|
21 |
cp ../../../../../main_marking2/wordle_test6.scala .
|
|
22 |
cp ../../../../../main_marking2/wordle_test7.scala .
|
|
23 |
cp ../../../../../main_marking2/wordle.txt .
|
|
24 |
./wordle_test.sh output
|
|
25 |
rm wordle_test.sh
|
|
26 |
rm wordle_test1.scala
|
|
27 |
rm wordle_test2.scala
|
|
28 |
rm wordle_test3a.scala
|
|
29 |
rm wordle_test3b.scala
|
|
30 |
rm wordle_test4.scala
|
|
31 |
rm wordle_test5.scala
|
|
32 |
rm wordle_test6.scala
|
|
33 |
rm wordle_test7.scala
|
|
34 |
rm wordle.txt
|
389
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
35 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
36 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
37 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
38 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
39 |
|