169
|
1 |
#!/bin/sh
|
|
2 |
###set -e
|
|
3 |
|
|
4 |
trap "exit" INT
|
|
5 |
|
330
|
6 |
files=${1:-assignment2019scala-*/Part6}
|
|
7 |
|
169
|
8 |
|
|
9 |
for sd in $files; do
|
|
10 |
cd $sd
|
|
11 |
echo $sd
|
|
12 |
touch .
|
331
|
13 |
cp ../../../../../marking1/drumb_test.sh .
|
|
14 |
cp ../../../../../marking1/drumb_test1.scala .
|
|
15 |
cp ../../../../../marking1/drumb_test2.scala .
|
|
16 |
cp ../../../../../marking1/drumb_test3.scala .
|
|
17 |
cp ../../../../../marking1/drumb_test4.scala .
|
|
18 |
cp ../../../../../marking1/drumb_test5.scala .
|
|
19 |
cp ../../../../../marking1/drumb_test6.scala .
|
|
20 |
cp ../../../../../marking1/drumb_test7.scala .
|
|
21 |
cp ../../../../../marking1/*.csv .
|
330
|
22 |
./drumb_test.sh output
|
331
|
23 |
rm drumb_test.sh
|
330
|
24 |
rm drumb_test1.scala
|
|
25 |
rm drumb_test2.scala
|
|
26 |
rm drumb_test3.scala
|
260
|
27 |
rm drumb_test4.scala
|
|
28 |
rm drumb_test5.scala
|
|
29 |
rm drumb_test6.scala
|
|
30 |
rm drumb_test7.scala
|
169
|
31 |
rm *.csv
|
|
32 |
cd ..
|
330
|
33 |
cd ..
|
169
|
34 |
done
|
|
35 |
|
|
36 |
|