none
This commit is contained in:
parent
2807fa3c18
commit
2bb14cc6ff
@ -86,21 +86,17 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# output the result
|
# output the result
|
||||||
echo '<html><head>'
|
cat <<EOF
|
||||||
#echo '<title>' "$title" '</title>'
|
<html><head>
|
||||||
echo '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">'
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||||
echo '</head><body>'
|
</head><body><pre>
|
||||||
echo '<pre>'
|
EOF
|
||||||
|
|
||||||
#untex -giso -a "$infile" | \
|
|
||||||
|
|
||||||
$CMD "$infile" | \
|
$CMD "$infile" | \
|
||||||
iconv -c -f iso-8859-1 -t utf-8 | \
|
iconv -c -f iso-8859-1 -t utf-8 | \
|
||||||
sed \
|
sed -e 's/</</g' -e 's/&/&/g'
|
||||||
-e 's/</</g' -e 's/&/&/g'
|
|
||||||
|
|
||||||
echo '</pre>'
|
echo '</pre></body></html>'
|
||||||
echo '</body></html>'
|
|
||||||
|
|
||||||
# exit normally
|
# exit normally
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user