diff options
-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 |