#!/bin/perl # # Prettify and fix pod2html output # # $Id: fixhtml.pl,v 1.2 2003/07/06 13:59:49 ndwinton Exp $ # while (<>) { # Insert style if (/\<\/HEAD\>/i) { print <<'EOF'; EOF } # Fix double quotes s/``/\“/g; s/''/\”/g; # Fix single quotes s/'/\’/g; # Fix em-dashes s/---/\—/g; # Add

to the end of paragraphs if (/^\/ .. /^$/) { print("

\n") if (/^$/); } print; }