diff options
Diffstat (limited to 'concat.sh')
-rwxr-xr-x | concat.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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>' |