From 7b9ff5843a6addd3139efe4bfe958fd332823fde Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 2 Jul 2012 16:30:05 +0200 Subject: Add html suffix to downloaded chapter files --- concat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'concat.sh') diff --git a/concat.sh b/concat.sh index 30e4f13..ff3baa3 100755 --- a/concat.sh +++ b/concat.sh @@ -13,7 +13,7 @@ do buchdir=$(echo "$buch" | sed "s/ /_/g") i=1 - while [ -e "chapters/$buchdir/$i" ] + while [ -e "chapters/$buchdir/$i.xml" ] do cat "chapters/$buchdir/$i.xml" | sed 1d i=$((i+1)) -- cgit