-
Notifications
You must be signed in to change notification settings - Fork 13
/
merge_sections.sh
executable file
·43 lines (35 loc) · 1.2 KB
/
merge_sections.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
echo "" > specification.md
cd sections
echo "" >> ../specification.md
cat Introduction.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
cat Network.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
cat Numbers.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
cat Cryptography.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
cat NeoVM.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
cat NeoContract.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
echo "" >> ../specification.md
python chapter_heading.py "Consensus.yaml" >> ../specification.md
echo "" >> ../specification.md
cat Consensus.md >> ../specification.md
echo "" >> ../specification.md
echo " \newpage" >> ../specification.md
cd ..
cp -r sections/images .