diff options
Diffstat (limited to 'concat.sh')
-rwxr-xr-x | concat.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,10 +11,11 @@ cat book-list | while read buch do echo "<biblebook bname=\"$buch\" bnumber=\"$j\">" + buchdir=$(echo "$buch" | sed "s/ /_/g") i=1 - while [ -e "chapters/$buch/$i" ] + while [ -e "chapters/$buchdir/$i" ] do - cat "chapters/$buch/$i.xml" | sed 1d + cat "chapters/$buchdir/$i.xml" | sed 1d i=$((i+1)) done |