diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-02 11:30:09 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-02 11:30:09 +0100 |
commit | 9bef1834756cf16e8b4fc7b365a058422a355691 (patch) | |
tree | 8929d04f2f88075968c53a318d1cc4b7ad94abe9 /concat.sh | |
parent | 79901116aaa26ad24d7d0d157d3e72bedcfe0834 (diff) | |
download | bible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.tar.gz bible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.tar.bz2 bible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.zip |
Many bible programs dont know the aliases.
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>' |