diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 17:41:51 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 17:43:27 +0200 |
commit | 2f116f283f4a75e52007ab66ef419dbf6ba9bf8c (patch) | |
tree | 646805d441a44b9b035ddf57a1a41c3b812b63eb | |
parent | 92a2d9d0a4fdd3fba4c094e691678f4ffca8756e (diff) | |
download | bible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.tar.gz bible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.tar.bz2 bible-fetch-2f116f283f4a75e52007ab66ef419dbf6ba9bf8c.zip |
Change umlauts in file names
-rwxr-xr-x | concat.sh | 2 | ||||
-rwxr-xr-x | download-chapters.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |