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