=== modified file 'render_files' --- render_files 2014-06-03 13:43:14 +0000 +++ render_files 2014-06-03 13:41:20 +0000 @@ -15,8 +15,7 @@ test -d head && mv head head.old while IFS='' read LINE; do FILE=${LINE% *} - TYPE=${LINE##* } - TYPE=${TYPE# } + TYPE=${${LINE##* }# } MIME=${TYPE%%; *} case $MIME in (text/*) render "$FILE";;