diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 15:27:44 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 15:29:23 +0200 |
commit | becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f (patch) | |
tree | ac05afc9b8bcab73bfa67741b8c638d1313b91ab | |
parent | 6eb284844a99e4f74ca976bac21eb9964aa9c393 (diff) | |
download | bible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.tar.gz bible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.tar.bz2 bible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.zip |
Merge make-xml.sh into gen-bible.sh
-rwxr-xr-x | gen-bible.sh | 7 | ||||
-rwxr-xr-x | make-xml.sh | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/gen-bible.sh b/gen-bible.sh index c6e56df..c4eb50e 100755 --- a/gen-bible.sh +++ b/gen-bible.sh @@ -1,6 +1,11 @@ #!/bin/sh -./make-xml.sh +./list-chapters.sh | while read file +do + echo "$file" + ./convert.sed "$file" | \ + xsltproc --encoding utf-8 --html convert.xsl - > "${file}.xml" +done ./concat.sh > elberfelder2006.xml zip elberfelder2006.zip elberfelder2006.xml diff --git a/make-xml.sh b/make-xml.sh deleted file mode 100755 index dace25c..0000000 --- a/make-xml.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -./list-chapters.sh | while read file -do - echo "$file" - ./convert.sed "$file" | \ - xsltproc --encoding utf-8 --html convert.xsl - > "${file}.xml" -done |