summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 17:41:51 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 17:43:27 +0200
commit2f116f283f4a75e52007ab66ef419dbf6ba9bf8c (patch)
tree646805d441a44b9b035ddf57a1a41c3b812b63eb
parent92a2d9d0a4fdd3fba4c094e691678f4ffca8756e (diff)
downloadbible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.tar.gz
bible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.tar.bz2
bible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.zip
Change umlauts in file names
-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