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