BEGIN { printf("
\n%s",$0); htmlname=""} /^[=]+$/&& length($0)==length(save){ if (htmlname==""){ htmlname=" "} ; printf("",save) printf("",$0)}
\n%s
\n",save,save); save="";$0=""}; /^[-]+$/&& length($0)==length(save){ if (htmlname==""){ htmlname=" "} ; printf("",save) printf("
\n%s
\n",save,save); save="";$0=""}; #/^@/ {print save ;print "
" ; save=$0} #/^$/ {print save;save=""} #!(/^@/ || (/^[-=]+$/ && length($0)==length(save) ) ) {print save ;save=$0} !((/^[-=]+$/ && length($0)==length(save) ) ) {print save ;save=$0} END {printf("%s\n