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