equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 ###set -e |
|
3 |
|
4 trap "exit" INT |
|
5 |
|
6 files=${1:-*/main4} |
|
7 |
|
8 for sd in $files; do |
|
9 echo -e "\n" |
|
10 cd $sd |
|
11 echo $sd |
|
12 touch . |
|
13 cp ../../../../../main_marking4/knight_test.sh . |
|
14 cp ../../../../../main_marking4/knight1_test1.scala . |
|
15 cp ../../../../../main_marking4/knight1_test2.scala . |
|
16 cp ../../../../../main_marking4/knight1_test3a.scala . |
|
17 cp ../../../../../main_marking4/knight1_test3b.scala . |
|
18 cp ../../../../../main_marking4/knight1_test3c.scala . |
|
19 cp ../../../../../main_marking4/knight1_test4.scala . |
|
20 cp ../../../../../main_marking4/knight1_test5.scala . |
|
21 cp ../../../../../main_marking4/knight2_test6.scala . |
|
22 cp ../../../../../main_marking4/knight2_test7.scala . |
|
23 cp ../../../../../main_marking4/knight2_test8.scala . |
|
24 cp ../../../../../main_marking4/knight3_test9.scala . |
|
25 ./knight_test.sh output |
|
26 rm knight_test.sh |
|
27 rm knight1_test1.scala |
|
28 rm knight1_test2.scala |
|
29 rm knight1_test3a.scala |
|
30 rm knight1_test3b.scala |
|
31 rm knight1_test3c.scala |
|
32 rm knight1_test4.scala |
|
33 rm knight1_test5.scala |
|
34 rm knight2_test6.scala |
|
35 rm knight2_test7.scala |
|
36 rm knight2_test8.scala |
|
37 rm knight3_test9.scala |
|
38 cd .. |
|
39 cd .. |
|
40 done |
|
41 |
|
42 |