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