----------------------------------------------------------------------
EOF
- iconv -f ISO-8859-15 -t UTF-8 "$file"
+ iconv -f ISO-8859-15 -t UTF-8 "$file" | sed 's/[ \t]*$//'
cat << EOF
----------------------------------------------------------------------