# Note: Better user vh-man2html !! outfile=boxes.1.shtml if [ -e $outfile ]; then cp -a $outfile $outfile"."$$".bak" fi cat ./boxes.1 | sed -e 's/^\.br/--LINEBREAK--/' | man -l - | man2html -title 'boxes(1)' | sed -e 's/boxes@thomasjensen.com/boxes(at)thomasjensen(dot)com/g' -e 's/<URL:\([^&]\+\)>/\1<\/a>/g' -e 's/<\/BODY>/\n\n\n<\/BODY>/' > $outfile echo "Conversion complete. Excessive manual work remains." # vim: set wrap :