#!/usr/bin/perl # this is really a faq2html and should only be used for this purpose sub fixline { # change blank lines to   $_ =~ s/^\s*$/\ \n/g; $_ =~ s/\/>/g; $_ =~ s/(http:\/\/([a-zA-Z0-9_.\#\/-\?\&]*)[^\) .\n])/\$1\<\/a\>/g; $_ =~ s/(\\|\/)$/$1 /g; # clobber backslash on end of line } while() { fixline($_); push @p, "$_"; } print "
\n";
print @p;
print "
\n";