From 2f116f283f4a75e52007ab66ef419dbf6ba9bf8c Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 2 Jul 2012 17:41:51 +0200 Subject: Change umlauts in file names --- concat.sh | 2 +- download-chapters.sh | 2 +- 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 "" - 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 -- cgit