summaryrefslogtreecommitdiff
path: root/concat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'concat.sh')
-rwxr-xr-xconcat.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/concat.sh b/concat.sh
index d6931d1..9b176a1 100755
--- a/concat.sh
+++ b/concat.sh
@@ -4,15 +4,15 @@ translation=$1
title="$2"
echo '<?xml version="1.0" encoding="UTF-8"?>'
-printf '<xmlbible type="x-bible" biblename="%s" status="v">\n' "$title"
-echo '<information>'
+printf '<XMLBIBLE type="x-bible" biblename="%s" status="v">\n' "$title"
+echo '<INFORMATION>'
echo "<title>${title}</title>"
echo '<format>Zefania XML Bible Markup Language</format>'
-echo '</information>'
+echo '</INFORMATION>'
j=1
cat ${translation}/book-list | while read buch
do
- echo "<biblebook bname=\"$buch\" bnumber=\"$j\">"
+ echo "<BIBLEBOOK bname=\"$buch\" bnumber=\"$j\">"
buchdir=$(echo "$buch" | sed "y/äöü /aou_/")
i=1
@@ -23,6 +23,6 @@ do
done
j=$((j+1))
- echo "</biblebook>"
+ echo "</BIBLEBOOK>"
done
-echo '</xmlbible>'
+echo '</XMLBIBLE>'