perl -ne 'm|
|..m|
\n/;m|?pre>| or print' htmlfile perl -ne 'chomp;m|
";s|?pre>
|| or print "$_\n"' htmlfile