253
|
1 |
#!/bin/sh
|
|
2 |
###set -e
|
|
3 |
|
|
4 |
trap "exit" INT
|
|
5 |
|
333
|
6 |
files=${1:-assignment2019scala-*/Part10}
|
253
|
7 |
|
|
8 |
for sd in $files; do
|
|
9 |
cd $sd
|
|
10 |
echo $sd
|
|
11 |
touch .
|
333
|
12 |
cp ../../../../../marking5/bf_test.sh .
|
|
13 |
cp ../../../../../marking5/bf_test1.scala .
|
|
14 |
cp ../../../../../marking5/bf_test2.scala .
|
|
15 |
cp ../../../../../marking5/bf_test3.scala .
|
|
16 |
cp ../../../../../marking5/bf_test4.scala .
|
|
17 |
cp ../../../../../marking5/bf_test5.scala .
|
|
18 |
cp ../../../../../marking5/bf_test6.scala .
|
|
19 |
cp ../../../../../marking5/bf_test7.scala .
|
|
20 |
cp ../../../../../marking5/*.bf .
|
|
21 |
./bf_test.sh output
|
|
22 |
rm bf_test.sh
|
|
23 |
rm bf_test1.scala
|
|
24 |
rm bf_test2.scala
|
|
25 |
rm bf_test3.scala
|
|
26 |
rm bf_test4.scala
|
255
|
27 |
rm bf_test5.scala
|
|
28 |
rm bf_test6.scala
|
|
29 |
rm bf_test7.scala
|
|
30 |
rm *.bf
|
253
|
31 |
cd ..
|
333
|
32 |
cd ..
|
253
|
33 |
done
|
|
34 |
|
|
35 |
|