summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconcat.sh2
-rwxr-xr-xdownload-chapters.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/concat.sh b/concat.sh
index aaa13d5..c7e72f0 100755
--- a/concat.sh
+++ b/concat.sh
@@ -11,7 +11,7 @@ cat book-list | while read buch
do
echo "<biblebook bname=\"$buch\" bnumber=\"$j\">"
- buchdir=$(echo "$buch" | sed "s/ /_/g")
+ buchdir=$(echo "$buch" | sed "y/äöü /aou_/")
i=1
while [ -e "chapters/$buchdir/$i.xml" ]
do
diff --git a/download-chapters.sh b/download-chapters.sh
index 29a2758..208ceb6 100755
--- a/download-chapters.sh
+++ b/download-chapters.sh
@@ -12,7 +12,7 @@ do
echo $url
echo "$buch $number"
- buchdir=$(echo "$buch" | sed "s/ /_/g")
+ buchdir=$(echo "$buch" | sed "y/äöü /aou_/")
curl $url > "chapters/$buchdir/$number.html"
done
done